Visualizing transformed data
✓ Published0🌍 Public
This example visualizes geographic data transformed from a SPARQL query, nesting locations per country after cleaning and aggregating the results. A world map is drawn using `d3.geoPath` and TopoJSON data from the world-atlas package, with each country rendered as a path. The visualization then applies `d3.nest` to structure the data, though the plotting of circles on the map is present but commented out, and a color scale is set up with `d3.scaleOrdinal` and `d3.schemeDark2`. SVG and animated transitions are used throughout.
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
MIT Licensed