🌍 Public
Viewing a saved revision (read-only)
86e9867c27f444279ee7fdd44d275b9e
functioneel programmeren (herkansing)
A world map visualizes the geographic distribution of museum collection items, with each item represented as a small circle colored by its country of origin. The visualization uses a Werner or Gilbert projection via `d3-geo-projection`, and renders country boundaries using `d3.geoPath` with TopoJSON data from `world-atlas`. Circle positions are calculated by projecting latitude and longitude coordinates fetched from a SPARQL endpoint querying the Network of Digital Heritage (NMVW) dataset. Hovering over a circle shows a tooltip displaying the country name. The code relies on D3 v5, TopoJSON, and SVG rendering.
AI-generated description