Skip to main content
Public

Share visualization

Loading preview…

My USA Map

vizhub.com

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

Before sharing, review the publishing checklist.

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 & exportPNG, HTML, source ZIP

My USA Map

0
Bbootshine2
Last edited Oct 17, 2019
Created on Sep 26, 2019
Forked from My World Map

This example displays a map of the United States rendered with a light blue sphere background and dark landmasses, using the `geoAlbersUsa` projection and `d3.geoPath` to draw geographic features. It loads US topology data from `us-atlas@1` via `useData`, which fetches a JSON file and processes it with `topojson.feature` and `topojson.mesh` to extract land and interior boundaries. The React component renders SVG paths for the sphere, land polygons, and interior borders, with styling applied through CSS classes in a Poppins-font page.

AI-generated description

A geoAlbersUsa representation from geoJSON and topoJSON (https://unpkg.com/world-atlas@2.0.2/countries-50m.json). I would have figured out how to get state lines but couldn't find the data.

Comments

Sign in to join the discussion.

MIT Licensed