Skip to main content
Public

Share visualization

Loading preview…

Fork of USA Country Map

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

Fork of USA Country Map

0 stars0Public
Bbhargavarathod
Last edited Mar 31, 2022
Created on Mar 31, 2022
Forked from USA Country Map

This example displays a choropleth-style map of the United States with state boundaries rendered as white lines on a black background. It uses the `geoAlbersUsaTerritories` projection from the `geo-albers-usa-territories` library to include U.S. territories, with state polygons and interior borders derived from the US Atlas TopoJSON files. The React component fetches the data via `useData`, converts it with `feature` and `mesh` from TopoJSON, and draws the map using `d3.geoPath` in an SVG.

AI-generated description

A demo of the geo-albers-usa-territories projection showing US State boundaries from US Atlas TopoJSON.

Comments

Sign in to join the discussion.

MIT Licensed