Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Visualizing transformed data

Public visualization

Viewing a saved revision (read-only)

cb4d8fc71b204a6595b194c2ffe3281b

Visualizing transformed data

2 stars5🌍 Public
LLaurens
Last edited Nov 25, 2019
Created on Nov 13, 2019

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 description

Making 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