Segmented Canvas

Hi Streamlit Team,
Thank you for you app, Iā€™m your fan.
I wonder how I can create segmented canvas.
For example, I put a grid on canvas and I want user to be able to select particular segments by clicking it and they are marked with some color.
It would be perfect to get IDs of selected segments
Like on a picture below (sorry for poor painting)

image

hello i want the same feature , but im fear that we are the only one

i tried :

nothing work correctly for this simple use case