a
✓ Published1🌍 Public
This example shows the outline of the United States as a single pink country against a light blue background, using an equirectangular-style Albers USA projection. It fetches world country boundaries from the world-atlas TopoJSON dataset and filters the features to include only the United States. The code uses d3.geoAlbersUsa, d3.geoPath, and the topojson.feature API to project and render the path as an SVG element.
AI-generated descriptionMIT Licensed