Skip to main content
100%

Fork of table

✓ Published0🌍 Public
Fferneyhoughedward@gmail.com
Last edited Jul 16, 2024
Created on Jul 16, 2024
Forked from table

This example demonstrates a minimal D3 v7 starter template that renders a GeoJSON LineString feature onto an SVG map using `d3.geoPath` with a `d3.geoIdentity` projection. The code manually defines a `FeatureCollection` containing a single path with three coordinate pairs, then appends SVG path elements bound to the feature data via `selectAll().data().enter()`. The map displays the path as a black stroke on a transparent background, but the projection is not calibrated to real geographic coordinates, so the line appears as an abstract diagonal segments rather than a geographically accurate route. The HTML page shows the word "D3 Starter" in large text above the empty SVG container.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes