Skip to main content
100%

Fork of US graph

✓ Published0🌍 Public
Sserjunfan
Last edited May 3, 2021
Created on May 3, 2021
Forked from Hello VizHub

This choropleth map shows the proportion of pigs to cows in each U.S. state for 2017, using a sequential color scale from light to dark blue. The visualization combines U.S. Census Bureau state boundaries from the us-atlas TopoJSON with CSV data loaded via d3.csv. React manages the component state, while d3.geoAlbersUsa and d3.geoPath render the map projection and state paths, with d3.scaleSequential mapping data values to colors. State borders are drawn using topojson.mesh, and unpopulated states appear gray.

AI-generated description
MIT Licensed

Similar vizzes