US States Cloropleth Reusable module
This reusable module renders a choropleth of US states using D3 v4, displaying state-level data from the Census of Governments revenue dataset. The SVG visualization colors each state based on a selected revenue metric, with a color scale mapping data values to hues. The module is designed for reuse, allowing users to plug in different data columns from the CSV file. It reads the CSV data, joins it with a US TopoJSON geometry, and fills each state path with a color corresponding to the chosen data value. The example highlights the distribution of state government finances, such as total revenue or specific tax categories, across the United States, with hover interactions for detail.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/john-guerra/'>john-guerra</a>'s block: <a href='http://bl.ocks.org/john-guerra/7bb8bf04742c84929fc5210d1f257e93'>US States Cloropleth Small Multiples</a>