Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice8abhi2

Public visualization

Viewing a saved revision (read-only)

8c1f423046644d1b975d1af19450adce

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