Skip to main content
100%

Gist 93888ff1e2e309348986d5e9496196c7

✓ Published0🌍 Public
JJulesBlm
Last edited Sep 17, 2019
Created on Sep 17, 2019

This example visualizes the locations of Dutch train stations, distinguishing intercity stations from regular ones through color-coded points. The map is built using D3.js, combining `d3.forceSimulation` with a custom force that projects coordinates onto a map layout, while station markers are rendered as circles. The visualization uses `d3.geoPath` to draw the geographic context, and the underlying data comes from a CSV file listing station names, coordinates, and intercity status. The rendering approach relies on Canvas, with the simulation handling the placement of labels and points to avoid overlap.

AI-generated description

Similar vizzes