Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Choropleth Map

0 stars2๐ŸŒ Public
JJordan Chiu
Last edited Feb 1, 2020
Created on Feb 1, 2020

This choropleth map colors countries according to their income group, using a spectral color scale with a clickable legend that displays the categorical values. The map is rendered with SVG paths generated by `d3.geoPath` and a `geoNaturalEarth1` projection, with zooming enabled via `d3.zoom`. Geographic data comes from the World Atlas TopoJSON, joined with country names from a TSV file. The color legend is built with `scaleOrdinal` and custom `colorLegend` functions.

AI-generated description

Choropleth Map with colour legend (Quiz 5)

Comments

Sign in to join the discussion.

MIT Licensed