Skip to main content
100%

World Map Visualization

✓ Published0🌍 Public
VVinay Vemuri
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

A choropleth world map colors countries according to population values loaded from a CSV file. The visualization uses d3.geoNaturalEarth1 for the map projection and d3.geoPath to render GeoJSON country boundaries. A d3.scaleQuantize with a d3.schemeBlues color range maps numeric population data to fill colors, while countries without matching data appear green. The example demonstrates loading external GeoJSON from a GitHub repository and joining CSV data to map features.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes