Skip to main content
100%

Fork of Data transformation

✓ Published1🌍 Public
KKhatera Alizada
Last edited Jan 26, 2023
Created on Jan 26, 2023
Forked from Loading Data

This example demonstrates the loading and parsing of the Iris Dataset from a CSV file, displaying the raw tabular data as formatted JSON text. The visualization initially shows a "LOADING" state before fetching the CSV, then uses `d3.csvParse` to convert the text into an array of objects, explicitly coercing the four measurement columns to numbers. The rendering is handled by a simple D3 data join that updates a `<pre>` element with the parsed data, driven by a state management pattern where `setState` triggers re-rendering. The Iris Dataset contains 150 samples of sepal and petal measurements across three iris species.

AI-generated description

Loading a CSV file, the Iris Dataset.

MIT Licensed

Similar vizzes