Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Country Map

Public visualization

Country Map

0 stars0🌍 Public
Rrakeshkommineni
Last edited Mar 30, 2023
Created on Mar 29, 2023

This example displays a choropleth map of the 50 US states, rendered as SVG paths with a blue fill and black state borders. The visualization uses the `geoAlbersUsaTerritories()` projection and `d3.geoPath()` to draw geographic features, while `useData` fetches TopoJSON data from the `us-atlas` package. State boundaries are generated via the `feature()` and `mesh()` functions from TopoJSON, and hovering highlights a state blue.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed