Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Iindushashi.g@gmail.com
Last edited Jun 12, 2023
Created on Jun 12, 2023
Forked from Hello VizHub

This example displays the average sepal length for each iris species in the classic Iris dataset. It reads the CSV file using `fetch` and parses it with `d3.csvParse`, then summarizes the data using `d3.flatRollup` and `d3.sum`. The resulting calculated averages are rendered as a JSON object inside a `<pre>` element via `d3.select` and `selection.join`. The visualization demonstrates loading D3 from UNPKG, importing from local ES6 modules, and managing asynchronous data loading through a state-based render cycle.

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