I have an image and I want to make a scatterplot on top of it.
You can take Gartnerās magic quadrant as an example. I have a dataset, which I am filtering using the selectbox in the sidebars. When all the 3 filters are selected say, Year, Region & Report, then I want to build a scatterplot on top of the image similar to what I just shared as an example.
Hi @sachinchaturvedi93, welcome to the Streamlit community!
This isnāt a Streamlit question per seā¦according to StackOverflow, matplotlib supports this, and Streamlit supports matplotlib. So I suggest the answer is something along the lines of this snippet:
Plotly:
Itās also likely that other plotting libraries support this functionality as well, such as ECharts, maybe Altair, etc.
Best,
Randy
1 Like