Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading REF2014

Public visualization

Viewing a saved revision (read-only)

6b50da59976e4fd28c8f715ac7102ac3

Loading REF2014

0 stars0🌍 Public
Mmbehiry-CW
Last edited Feb 21, 2020
Created on Feb 21, 2020
Forked from Loading CSV

This example demonstrates loading the Iris Dataset from a CSV file and displaying its full contents as a formatted JSON string in the browser. The visualization uses D3’s `csv` function to fetch the external dataset, then appends a `<pre>` element to the page and populates it with the data using `JSON.stringify`. The code is minimal, focusing on the asynchronous data-loading pattern and D3’s promise-based handling of CSV parsing, with no additional charting or rendering beyond the raw output. The dataset is sourced from a remote URL provided in the code.

AI-generated description

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