Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

United States of America Country Map

Public visualization

Viewing a saved revision (read-only)

33fe03c05a6745e6b2a7486d3971e1df

United States of America Country Map

0 stars0🌍 Public
SSravanthi Silla
Last edited Apr 3, 2022
Created on Apr 3, 2022

This interactive map of the United States displays state boundaries and landmasses, rendered as SVG paths with a coral fill and indigo stroke. It uses D3’s `geoAlbersUsaTerritories` projection and `geoPath` to convert TopoJSON feature and mesh data into geographic paths. React manages the component lifecycle, fetching the source JSON from a GitHub gist via `json` and `topojson`'s `feature` and `mesh` functions. The visualization updates dynamically, showing a loading message until data is available.

AI-generated description