Hi,
Using plotly.graph_objects
, I am trying to create a bubble chart where the marker size is set based on a long integer array.
By default, the larger the integer, the larger the ‘bubble’ or size. However, I’d like to do the opposite and have those points with the smallest integer value to have a larger respective bubble size in the plot.
Is there anyway to automatically invert the sizing property to do this? Or a easy workaround?
For example, if I have the following data records below, I would want c
to be the largest on the plot followed by b
a
point integer-value
a 20
b 10
c 5