Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

ice8abhi2

Public visualization

ice8abhi2

0 stars0๐ŸŒ Public
Aabhi051197
Last edited Apr 5, 2022
Created on Apr 5, 2022

This example displays the geographic boundary of the United States as a single dark green polygon with a red stroke on an aqua background, rendered using SVG. The code loads world country data from the World Atlas TopoJSON source via `d3.json`, converts it using `topojson.feature`, filters for the United States, and projects the path with `d3.geoAlbersUsa` and `d3.geoPath()`. The `geoAlbersUsa` projection is scaled and translated to center the map within the 960 by 500 pixel viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed