Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

US Country Map

Public visualization

US Country Map

0 stars0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed