Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading CSV

Public visualization

Viewing a saved revision (read-only)

36ee49a2507c48be9f26da5715f86b84

Loading CSV

0 stars1🌍 Public
Bbio_sun
Last edited Feb 15, 2020
Created on Feb 15, 2020
Forked from Loading CSV

This example demonstrates how to load and display a CSV dataset using D3. It fetches the Iris Dataset from a remote URL and renders the parsed data as a JSON-formatted text block within the page. The code uses `d3.csv()` to asynchronously retrieve and parse the CSV file, then chains `.then()` to append a `<pre>` element to the body via `d3.select()`. The resulting output shows the structured data, making the loading and parsing process visible.

AI-generated description

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