choropleth and accessing state via expressions #1475
Unanswered
colin-ryan-airm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to create a choropleth with mapbox that's dynamically colored based on user input (user inputs a year and data is loaded for that year). I'm rendering data from mapbox studio on my map and it includes several polygons, each with an id. In my application I want to change the colors of the polygons based on some selection (year, for example). If I stored the data in mapbox studio I know how I'd do this. I'd set the fill color to something like this:
Beta Was this translation helpful? Give feedback.
All reactions