Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 - Choropleth

Public visualization

Viewing a saved revision (read-only)

5516ef2fe99944b8be0aa88130661d7a

D3 - Choropleth

0 stars0🌍 Public
CChandana Srinivas
Last edited Apr 1, 2024
Created on Apr 1, 2024
Forked from HTML Starter

This choropleth map visualizes poverty rates across U.S. counties in 2022, with counties colored according to a blue sequential threshold scale and state boundaries overlaid in white. The visualization includes an interactive legend and a tooltip that displays county name, state, and poverty value on mouseover. The code uses d3.geoPath to render geographic shapes, d3.scaleThreshold with d3.schemeBlues for color mapping, and topojson.feature to process the US county data. Data is loaded from a CSV file and merged with US TopoJSON geometry, with the rendering handled in SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.