Skip to main content
100%

Leaflet + D3 Map

✓ Published5🌍 Public
AAnimesh Nautiyal
Last edited Nov 23, 2020
Created on Oct 25, 2020
Forked from HTML Starter

This visualization combines Leaflet and D3 to create an interactive map of the Worli area in Mumbai, India. It displays GeoJSON polygon boundaries representing postal code regions from a polygon.js file, along with hand-drawn lane features from lines.json. The map uses d3.geoTransform to project geographic coordinates through Leaflet's latLngToLayerPoint method, rendering SVG paths that respond to mouseover events by changing fill colors. D3's geoPath generator creates the paths, which update dynamically as users zoom or pan the OpenStreetMap tile layer.

AI-generated description

Leaflet + D3 Map

MIT Licensed

Similar vizzes