Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Chloropleth Map

Public visualization

Chloropleth Map

0 stars2๐ŸŒ Public
Ffbudwill
Last edited Jun 11, 2020
Created on Jun 11, 2020

This choropleth map visualizes global economic classifications by coloring each country according to its economy type, with a color legend to the side. Built with D3 v5, it uses `d3.geoPath` with the Natural Earth projection to render country boundaries from TopoJSON data loaded from the world-atlas package. An ordinal color scale maps economic categories to the spectral scheme, while zoom interaction and hover highlighting are implemented via `d3.zoom` and CSS. The legend is generated as a reusable SVG component through custom functions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed