🌍 Public
Viewing a saved revision (read-only)
cc3df480ee044e71b0a219ea3f08ccb3
Visualizing transformed data
This example visualizes geographic survey data by animating circles onto a world map, with each dot representing a location and colored by its country. It demonstrates a data pipeline that fetches SPARQL query results, cleans and nests the data per country, then uses a D3 animation to grow the circles. The visualization uses `d3.geoPath` and `geoNaturalEarth1` projection for the map, while `d3.nest()` and `transition.attrTween` handle data transformation and the animated reveal.
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