Map using Canvas
✓ Published2🌍 Public
This example displays an Indian state-level choropleth map, colored with a rainbow sequential scale based on the `POINTS_` property from NFHS-4 survey data. It renders geographic boundaries onto a Canvas element using D3 v4’s `d3.geoPath` with a Mercator projection, while `d3.scaleSequential` maps data values to colors. Each feature is individually stroked in black and filled via Canvas 2D context operations, with data loaded from a remote GeoJSON file.
AI-generated descriptionMap on canvas using D3
MIT Licensed