block by emeeks b8da1d56fd9c21244fdd

Simple Network Flooding

Full Screen

Simple network flooding. Click on a circle to find the network distance to the other nodes on the network. Nodes that can’t be reached will be colored gray.

This example implements a simple weighted breadth-first search to calculate distance and should work with any topojson file that has linestrings. This kind of thing is very useful for identifying areas of a network dataset that need more correcting or additional data.

index.html

d3map.css

dijkstra.js