Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project | Load color | legend | moving

Public visualization

Viewing a saved revision (read-only)

d5dcb81045f04581b6f1873659ac8439

Project | Load color | legend | moving

0 stars1🌍 Public
MMukund Khandelwal
Last edited Oct 24, 2018
Created on Oct 24, 2018

This example displays a world map with countries colored by a categorical measure of "prudence," using a yellow-or-red ordinal color scale. An interactive legend allows users to click a color value to filter and highlight matching countries while dimming others. The visualization uses d3.geoPath with a geoEquirectangular projection, d3.zoom for panning, and a custom color legend component. Data comes from CSV and TopoJSON files, rendered as SVG paths with hover effects defined in CSS.

AI-generated description