Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Map

Public visualization

Viewing a saved revision (read-only)

99c6d0d23b54455b8d8a0260e6a51cb8

Fork of World Map

0 stars0🌍 Public
PPeiyang Li
Last edited May 4, 2023
Created on May 4, 2023
Forked from World Map

This visualization shows a U.S. states map rendered as green polygons with black outlines against a light blue spherical background. It uses d3.geoAlbersUsa for the projection and d3.geoPath to generate SVG paths from TopoJSON data loaded from the us-atlas package. The code converts TopoJSON to GeoJSON using topojson.feature before binding the state features to SVG paths, while the sphere element is drawn separately using a GeoJSON Sphere object.

AI-generated description