Skip to main content
100%

Loading CSV

✓ Published0🌍 Public
Vvaynexie
Last edited Jan 6, 2020
Created on Jan 6, 2020
Forked from Loading CSV

This example demonstrates loading a CSV dataset by fetching the Iris Dataset from a remote URL and displaying its raw JSON structure in the browser. The code uses d3.json to retrieve the data, then chains a promise to append a `<pre>` element to the body, formatting the response with JSON.stringify and indentation. The visualization itself is minimal, focusing solely on the data-loading workflow rather than rendering charts or graphs. It relies on D3 v5’s `json` method and standard DOM selection via `select`, making the asynchronous data-fetching pattern explicit.

AI-generated description

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

MIT Licensed

Similar vizzes