Skip to main content
100%

map-line-density

✓ Published2🌍 Public
Zzoniyac
Last edited May 7, 2020
Created on Apr 30, 2020
Forked from map-line-size

This example visualizes the percentage of stunted children across administrative blocks in Palghar, India, using a choropleth map. The map renders GeoJSON polygon boundaries with d3.geoPath and a Mercator projection, while fill patterns from textures.lines encode the data values. An interactive range slider, built with d3-simple-slider, dynamically adjusts the classification thresholds, triggering a CSS transition to recolor the map. Hovering over a block displays its name and value in a tooltip, with data sourced from a CSV file and joined to the GeoJSON features.

AI-generated description
MIT Licensed

Similar vizzes