Is there a way to put images inside bubbles or represent bubbles with images?
For example, if I want to construct a bubble graph or a scatter plot about countries and their populations, can I have the countries’ flags as bubbles?
Ive read the documents about incorporating images, but there does not seem to be an option to use images this way, and I was wondering if someone managed to achieve this.
I could add it to the tutorials but the issue is to have the round flag icons available for anyone trying out the tutorial. Maybe if I can find them hosted somewhere I’ll do that.
Well here we go, using a collection of rounded flags available on github (thanks matahombres). You’ll also need the iso-2 country code so here I used pycountry to do the conversion.
Is there a way to assign the image as a marker, without looping through each point in the df? This seems to slow things way down if you have a big df. Thanks!