Skip to main content
100%

experiment Map

✓ Published0🌍 Public
SSaurabh Gupta
Last edited Mar 12, 2022
Created on Mar 12, 2022

This example displays a map of the United States rendered as SVG paths, with state boundaries drawn from TopoJSON data loaded from the us-atlas dataset. It uses D3 v5’s `json`, `geoPath`, and `geoMercator` functions along with the `feature` method from topojson to convert the TopoJSON topology into GeoJSON features. The visualization demonstrates basic geographic projection and path generation, outputting a static map without additional interactivity or styling.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes