Fork of D3 Starter
✓ Published0🌍 Public
This example displays an interactive map of India, showing both state boundaries and district-level divisions, with each district colored by its state. Users can zoom and pan the map using d3.zoom, and hovering over a district reveals its name and state in a tooltip. The visualization uses d3.geoMercator for projection, d3.geoPath to render TopoJSON data from two external sources, and d3.scaleOrdinal with schemeCategory10 for colors. The code also includes an orthographic world map with draggable rotation in a separate module.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed