Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 4

Public visualization

Viewing a saved revision (read-only)

de4a5ee4f7dc456a9a77c4df9667ca42

Activity 6 task 4

0 stars0🌍 Public
HHarshiiiiiiiip
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

This example loads the classic Iris flower dataset from a CSV file and computes the average sepal length for each of the three species using D3’s `flatRollup` and `sum` functions. The results are displayed as a formatted JSON summary inside a `pre` element in the browser. Built with D3 v7, the visualization demonstrates asynchronous data fetching with `fetch` and `csvParse`, as well as the use of local ES6 modules for organizing the code.

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.