🌍 Public
Viewing a saved revision (read-only)
c9405859e5034a6f827eef247f0f0331
World Map Visualization
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.