Hey guys I’m trying to create a world map where each country gets assigned a certain percentage. When hovering over the country I’d like to display this percentage.
Is there a way to display as a percentage? So instead of 12.04 I would like to display 12.04%.
I tried using zhoverformat (even though it does not seem to be supported for choropleth) and hovertemplate without success:
trace = dict (
type = ‘choropleth’,
locations = df[‘ISO-3’],
z = df[‘Percentage’],
text = df[‘Country Label’],
Thanks in advance.