Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Project | Load color | legend | moving

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed