🌍 Public
Viewing a saved revision (read-only)
cb4d8fc71b204a6595b194c2ffe3281b
Visualizing transformed data
The example displays a world map with animated, color-coded circles representing cultural heritage object locations, grouped per country through nested data. It uses d3.json to fetch SPARQL query results and TopoJSON world atlas data, then transforms raw bindings via d3.nest. Circles are rendered as SVG with d3.geoPath projections and animated using transition.attrTween-like easing, while color scales from d3.scaleOrdinal.
AI-generated descriptionMaking a datavis with nested data with d3
Concept
- Nest data in countries so we can visualize something per country
- Put data cleaning and transformation in separate module