Text Along Topojson Features
✓ Published0🌍 Public
Aandrew-reid
Last edited Oct 14, 2016
Created on Oct 5, 2016
A world map rendered with a Kavrayskiy VII projection displays three concentric buffer rings around Whitehorse, Canada, with distance labels (5000, 10000, 15000) drawn directly along the curved TopoJSON line features using D3 v4 and SVG. The map includes a graticule, land area, country boundaries, and a white marker point, with the buffer text styled in small gray Arial font.
AI-generated descriptionBlock showing how to place text on topojson lines in d3.js v4. Built off of one of Mike Bostock's blocks on displaying arcs (Snowden's Route I think). Whitehorse, in the Yukon, Canada, is shown on the map with the small circle.