Reposted from community.plotly.com.
Basically, I’m making a Scatter plot filterable by state, and when I select, for example, Alabama, I want only the state of Alabama to show up, big and centered on the page - removing the rest of the United States. I was thinking of using either locations
or geojson
to accomplish this, but I’m not sure how I would use those in the way I wanted.
Current view of all the states
Mock-up of what I want the state view to look like
Edit:
I've tried using locations = [state_abbrv]
, but that just removes all the points and puts one point in the center of the map, like this.