Skip to main content
100%

Cost of Living World Map With Country Selection and Color Scale

✓ Published1🌍 Public
Sste.jendritz@gmail.com
Last edited Nov 9, 2024
Created on Nov 3, 2024

This interactive choropleth maps the global cost of living index, encoding each country’s relative expense with a red-to-blue color gradient derived from a sequential scale. Hovering over a country displays its name, while clicking attempts to open a modal window, which is only partially implemented. The visualization uses D3’s `geoNaturalEarth1`, `geoPath`, and `geoGraticule` to render the world map, along with a custom `colorLegend` component. Data comes from a local CSV file, with geographic boundaries loaded from a TopoJSON world atlas.

AI-generated description

Simple world map showing cost of living index per country represented by color gradient. Closer to blue is high cost of living while closer to red is low cost of living.

MIT Licensed

Similar vizzes