Skip to main content
100%

Fork of FP: Map

✓ Published0🌍 Public
Vvinodreddysagam929@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from FP: Map

This example visualizes a world map highlighting cricket-playing countries, coloring each nation differently while rendering the rest of the landmass and graticule grid. It uses D3 v7 with a `d3.geoEquirectangular` projection and `d3.geoPath` to draw geographic features, loading country boundaries from a TopoJSON world atlas file. The code filters countries based on a `cricketColors` mapping and appends SVG paths, while also demonstrating the addition of arbitrary GeoJSON geometries like points and polygons.

AI-generated description
MIT Licensed

Similar vizzes