Skip to main content
100%

Data Visualization Short Presentation Task8

✓ Published0🌍 Public
Aanith462@gmail.com
Last edited Jul 27, 2023
Created on Jul 27, 2023
Forked from Hello VizHub

This example loads a CSV dataset and computes the average age of children per country, displaying the result as a JSON summary using D3’s `flatRollup` and `sum`. The code demonstrates asynchronous data fetching with `fetch`, parsing via `csvParse`, and type coercion of numeric fields. It uses D3 v7 for data aggregation and DOM updates, selecting a container to render the computed summary as preformatted text. The visualization highlights a simple data-processing pipeline without graphical charts, focusing on aggregation logic and state management.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes