Skip to main content
100%

Labeled US Map

✓ Published2🌍 Public
CCurran Kelleher
Last edited Jul 23, 2020
Created on Jun 19, 2020
Forked from React Starter

This example demonstrates a labeled map of the United States, including territories, rendered with React and D3 v5. Geographic features are drawn as polygons on a Canvas layer using `d3.geoPath`, while state names are positioned on top using an SVG layer and the `@datavis-tech/polylabel` algorithm for optimal label placement. The map uses an experimental `geoAlbersUsaTerritories` projection that extends the standard Albers USA projection to include Puerto Rico, Guam, and American Samoa, with state geometries loaded from TopoJSON via `topojson.feature`.

AI-generated description

A US map with labels (using an experimental Polylabel build) and an experimental map projection: Geo Albers USA with Territories.

This is really an experiment to see how VizHub can deal with moderate complexity.

Excerpted from Pleth.

MIT Licensed

Similar vizzes