Skip to main content
100%

Loading CSV

✓ Published1🌍 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.

MIT Licensed

Similar vizzes