Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Visualizing transformed data

Public visualization

Visualizing transformed data

0 stars0🌍 Public
GGiovanni Kaaijk
Last edited Dec 3, 2019
Created on Dec 3, 2019

A world map displays geographic points colored by country, with each location's data nested per nation and visualized as small circles. The visualization uses D3 v5 with a Natural Earth projection via `geoNaturalEarth1`, `geoPath` for rendering map features, and `d3.nest()` to group SPARQL query results by country. Circles animate with a staggered bounce effect using `transition.delay` and `d3.easeBounce`, while an ordinal color scale from `d3.schemeDark2` differentiates countries. Data is loaded from a remote SPARQL endpoint and processed in a separate module.

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

Comments

Sign in to join the discussion.

MIT Licensed