I have a choropleth map that covers each state in the U.S. and would like to be able to highlight the polygon when the user clicks on it by way of either increasing the transparency or adding some sort of marker to it (ex: freezing hover tooltip). Is there a way to achieve this?
I came across this article, which is exactly what I’m looking to do but because the geojson file I have is quite large and the graph is redrawing the entire shape due to how the callback works, it takes a while for the transparency to change when clicked - making the app not user-friendly.
Please help!
2 posts - 2 participants






