Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6

Public visualization

Viewing a saved revision (read-only)

704def9313634c8ba116e3650f6237a3

Activity6

0 stars0🌍 Public
Ppasyasahas
Last edited Jun 24, 2023
Created on Jun 12, 2023

This example uses the D3.js v5 library to load, parse, and display a summary of the Iris dataset. The visualization fetches a CSV file, converts it to an array of objects, and uses a `flatRollup` operation with a `sum` reduction to compute the average sepal length per species, presenting the result as formatted JSON text in a `<pre>` element. The SVG and WebGL rendering in the index.html file is generated by external tools, not by the JavaScript code itself.

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.