Advanced hovertemplate Dash

Plotly version: 5.18.0, Dash version: 2.14.1
Hi, I am very new to both plotly and Dash and was wondering if advanced hovertemplates are possible? This site uses react.js, but the dialog box that pops up when you click on the map is the kind of thing I am trying to achieve - https://coronavirus.data.gov.uk/details/interactive-map/cases

Below is a screenshot. Thanks!

Hello @renz,

Welcome to the community!

Yes, you can configure your own hover template:
advanced hovertemplate
tooltip example

You could also do it similar to how they did it and create a modal upon clickData being updated.

1 Like

Thanks @jinnyzor , ended up doing exactly that :+1:

1 Like