Skip to main content
100%

Fork of A6_ Transformingdata

✓ Published0🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

This example loads the Iris flower dataset from a CSV file and uses D3’s `flatRollup` and `sum` functions to compute the average sepal length for each species, displaying the result as JSON text. The visualization shows the transformed summary data in a `<pre>` element, demonstrating how to fetch, parse with `csvParse`, and aggregate data using D3 v7 within a VizHub project. It also illustrates ES6 module imports and state management through a custom `setState` pattern.

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