Skip to main content
100%

Project | last part

✓ Published3🌍 Public
MMukund Khandelwal
Last edited Oct 25, 2018
Created on Oct 24, 2018

This visualization is a choropleth map of world countries colored according to a color scale derived from a categorical attribute, with a legend allowing interactive filtering of highlighted countries. The map uses the D3 geo projection API (`geoEquirectangular` with `geoPath`) to render country boundaries as SVG paths from TopoJSON data merged with CSV attributes. The legend, built with D3's ordinal color scale and the `schemeYlOrRd` color scheme, responds to clicks to toggle a selected category, which dims non-matching countries. The map also implements a zoom interaction via D3's `zoom` event.

AI-generated description
MIT Licensed

Similar vizzes