Skip to main content
100%

Fork by Jeevani ICE 8

✓ Published0🌍 Public
117761A04F1
Last edited Mar 27, 2023
Created on Mar 26, 2023

This example displays a world map with an equirectangular projection, coloring all countries in pink against a blue sphere, and highlighting countries in gold on hover. The visualization loads country boundaries from the world-atlas TopoJSON/GeoJSON dataset and renders them as SVG paths. Built with D3 v5, it uses `d3.geoPath` for path generation, `d3.geoEquirectangular` for the projection, and the TopoJSON `feature` method to convert TopoJSON data into GeoJSON features. The styles handle the sphere fill, country stroke, and hover effects.

AI-generated description
MIT Licensed

Similar vizzes