Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Choroplath Map

Public visualization

Choroplath Map

0 stars2๐ŸŒ Public
OOleg
Last edited Mar 9, 2021
Created on Nov 5, 2020

This choropleth map colors countries by their economy type, using a natural Earth projection and a spectral color scale. The visualization supports zooming and panning, with hover highlighting and tooltips showing country names. Built with D3 v5, it uses `geoNaturalEarth1`, `geoPath`, and `zoom`, while loading TopoJSON world data joined with TSV metadata. A custom color legend displays ordinal categories, and the code leverages `scaleOrdinal` and `schemeSpectral` for color mapping.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed