Skip to main content
100%

Map using Canvas

✓ Published2🌍 Public
AAnimesh Nautiyal
Last edited Jun 5, 2021
Created on Feb 17, 2021
Forked from HTML Starter

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 description

Map on canvas using D3

MIT Licensed

Similar vizzes