Skip to main content
100%

World Map

✓ Published0🌍 Public
UUVarshaReddy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This example displays an interactive world map using Leaflet, with countries rendered as yellow polygons with black borders. The map initializes with a global view centered on [0,0] at zoom level 2. It fetches GeoJSON country boundaries from a GitHub-hosted world dataset and adds them to the map using Leaflet’s `L.geoJSON` method. The page also imports D3.js and local ES6 modules, though their primary role is demonstrated separately in the accompanying code structure.

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