Skip to main content
100%

Activity 6 task 4

✓ Published0🌍 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.
MIT Licensed

Similar vizzes