Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

d3 Choropleth map

Public visualization

Viewing a saved revision (read-only)

cda75357e1a34157b617a4284c43cc80

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