Starting with location. Talked about initial binning of "my county/location" > "other counties in my state/division" > "outside my state/division," while enabling users to add specific values to the color legend (e.g., also show a distinct color for a specific neighboring county).
sameData.raw gives you the Node object. Then metadata lives in .node_attrs.location.value (see also .division.value).
The user's "home jurisdiction" is solicited as input and stored in global state in App.tsx as locationdivisioncountry and region
Starting with location. Talked about initial binning of "my county/location" > "other counties in my state/division" > "outside my state/division," while enabling users to add specific values to the color legend (e.g., also show a distinct color for a specific neighboring county).
sameData.raw
gives you theNode
object. Then metadata lives in.node_attrs.location.value
(see also.division.value
).App.tsx
aslocation
division
country
andregion