Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Visualizing transformed data

Public visualization

Viewing a saved revision (read-only)

dfdb9931a86a4a35ba33a2990db54b80

Visualizing transformed data

1 star0🌍 Public
RRoyCsuka
Last edited Nov 21, 2019
Created on Nov 21, 2019

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 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