Vega-Lite Choropleths Maps Table Column
This example shows three choropleth maps of U.S. states, each displaying a different quantitative column—population, engineers, and hurricanes—from the same CSV dataset. The maps are generated using Vega-Lite’s repeat operator to iterate over the three fields, with each map using an Albers USA projection and independent color scales. The code loads TopoJSON state boundaries and joins them to the data via a lookup transform, while D3 v5 fetches the CSV locally. Custom axis and label styling in `config.js` improves readability.
AI-generated descriptionThis example of multiple choropleths visual comes form Vega-Lite's site. It demonstrates three fields frome the same table are used to show on 3 different choropleths. The original data is a csv data from vega demo data for population, engineer and hurricans data per state for US which can be found in vega docs data on github.