Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading CSV

Public visualization

Viewing a saved revision (read-only)

4d6d257522294f9e85d27b770b9069e2

Loading CSV

0 stars0🌍 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.