✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

How do you set the hoverformat in a Choropleth?

I can’t figure out how to adjust the number formatting in the hover box on a Choropleth. For e.g. a Scatter graph you do this use the hoverformat option on the y-axis. I could not find anything similar though for a Choropleth.

In this image you see that the value is quite hard to read. I simply want to format it as $,.2f (just like I do using hoverformat).

Any ideas?

choro

One way would be to set your own text data instead of relying on the actual number

1 Like