Loading REF2014
✓ Published0🌍 Public
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 descriptionThis example shows how to load a CSV dataset, the Iris Dataset.
MIT Licensed