Skip to main content
100%

Focus_Example

✓ Published0🌍 Public
Kknstrom
Last edited Mar 3, 2022
Created on Mar 3, 2022

This interactive choropleth displays country economies using a categorical color scale from `schemeGreens`, with World Atlas TopoJSON data and a natural Earth projection via `d3.geoPath`. Clicking a country or legend item isolates that value, dimming all other map regions and legend ticks. Zoom and pan are enabled through `d3.zoom`. Hovering shows country names and values via SVG `<title>`. The visualization uses a d3 v5 ordinal scale and modular ES6 imports, rendering entirely as SVG.

AI-generated description
MIT Licensed

Similar vizzes