Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Transforming Data

Public visualization

Fork of Transforming Data

0 stars0🌍 Public
SSpencer McAvey
Last edited Feb 23, 2023
Created on Jan 25, 2023
Forked from Transforming Data

This example demonstrates the results of applying D3 data-transformation APIs to a dataset of Human Development Index (HDI) indicators for countries across multiple years. It shows how aggregation methods like `flatRollup`, grouping via `flatGroup`, and `bin` summarize and reshape the raw CSV data into compact summaries. The visualization outputs the transformed results as formatted JSON text using `select` and `join`, displaying counts, averages, or binned ranges depending on the uncommented transformation. The code relies on D3 v7 functions such as `csvParse`, `bin`, `min`, `max`, and `extent` to process the data.

AI-generated description

Examples of various data transformation techniques on my HDI dataset :)

Comments

Sign in to join the discussion.

MIT Licensed