🌍 Public
Viewing a saved revision (read-only)
ca2992e972634c32a21745a1f02e3754
D3 map
A world map in a natural Earth projection shows the locations of jewelry objects from Africa and Oceania, sourced from a SPARQL query against the Network Digital Heritage API. Each location appears as a circle, drawn with SVG, that animates in with a bounce effect. The code uses D3 v5’s `geoNaturalEarth1`, `geoPath`, and `transition` to render the map, while TopoJSON loads country boundaries. Data points are projected and positioned based on latitude and longitude values fetched from the endpoint.
AI-generated description