Skip to main content
100%

Loading CSV

✓ Published13🌍 Public
CCurran Kelleher
Last edited Dec 26, 2019
Created on Aug 14, 2018
Forked from Hello VizHub

This example demonstrates how to load and display the Iris Dataset as raw JSON text on a webpage. It uses D3 v5’s `csv` function to fetch the remote CSV file, then converts the parsed data into a formatted JSON string via `JSON.stringify` and appends it to the body inside a `<pre>` element. The code relies on D3’s `select` method to target the document body for the output, showcasing a minimal workflow for fetching external tabular data and inspecting its structure.

AI-generated description

This example shows how to load a CSV dataset, the Iris Dataset.

MIT Licensed

Similar vizzes