Skip to main content
100%

US Country Map

✓ Published0🌍 Public
Aavinash021997
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from Hello HTML

This example displays a static choropleth map of the United States, with all states uniformly filled in red on a light yellow background. Using D3 v4 and TopoJSON, it loads state boundaries from the `us-atlas` dataset and renders them as SVG paths with `d3.geoPath` and the `d3.geoAlbersUsa` projection, which automatically positions Alaska and Hawaii. The code applies stroke styling to delineate state borders, offering a simple baseline for geographic data visualization.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes