Skip to main content
100%

CPSC 436V Week 7 - Map with Selectable Countries

✓ Published0🌍 Public
JJordan Chiu
Last edited Feb 18, 2020
Created on Feb 18, 2020

This example shows a choropleth map of world countries colored by income group, with interactive selection. Clicking a country highlights it and dims all others, while a legend allows filtering by income category; clicking again deselects. The visualization uses d3.geoNaturalEarth1 and d3.geoPath for projection and rendering, d3.zoom for panning, and d3.scaleOrdinal with schemeSpectral for color mapping. Data comes from TopoJSON world-atlas and TSV metadata, rendered as SVG paths.

AI-generated description

Quiz 7

MIT Licensed

Similar vizzes