Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Country map

Public visualization

Viewing a saved revision (read-only)

7e5a2e9bc01543bebc9a7ad06c11b287

Country map

0 stars0🌍 Public
HHARSHA BUDDANA
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from HTML Starter

This example displays a map of the United States with state boundaries drawn as lines and land areas filled in a light tan color. It uses React hooks to load TopoJSON data from the us-atlas package and converts it into GeoJSON with the topojson feature and mesh functions. The map is rendered as SVG paths using d3.geoPath with the geoAlbersUsaTerritories projection, which includes U.S. territories. State interiors appear in teal strokes, while the graticule is defined but not rendered.

AI-generated description

Second Question of ICE 8.1 - Create a Country map with the world Topojson data.