Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

d3 Choropleth map

Public visualization

d3 Choropleth map

0 stars0๐ŸŒ Public
Ccwb314159@gmail.com
Last edited Apr 15, 2025
Created on Apr 14, 2025

This choropleth map shows U.S. counties colored by their 2023 population estimates, using a logarithmic threshold color scale with seven blues to reveal regional population patterns. It loads population data from a CSV and county boundaries from a TopoJSON file via Promise.all, then renders the map using d3.geoPath on SVG paths. The fill color is assigned per county using d3.scaleThreshold and FIPS codes, with a d3.legendColor legend and a title clarifying the data shown.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed