Skip to main content
100%

Country map

✓ Published6🌍 Public
LLG0498
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example shows a map of the United States with its individual states rendered as sky-blue filled regions and their shared borders drawn as teal lines. It uses the `geoAlbersUsaTerritories` projection and `d3.geoPath` to convert TopoJSON data from the `us-atlas` package into SVG paths. The React component `Marks` maps over the land features and renders the interiors with a mesh, while a graticule is generated but not displayed. Data is loaded asynchronously via `d3.json` and processed with TopoJSON’s `feature` and `mesh` functions.

AI-generated description
MIT Licensed

Similar vizzes