Skip to main content
100%

Fork of Loading CSV

✓ Published0🌍 Public
Yyasmeenha
Last edited Feb 25, 2023
Created on Feb 25, 2023
Forked from Loading CSV

This example demonstrates how to load a CSV dataset and display its contents as raw JSON text on the page. It fetches the Iris Dataset from a remote GitHub URL using the `csv` function from D3 v5, then formats the parsed data with `JSON.stringify` for readability. The code appends a `<pre>` element to the document body using `select` and `append`, showing the structured array of objects that results from parsing the CSV. The visualization is minimal, focusing purely on data loading and inspection.

AI-generated description

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

MIT Licensed

Similar vizzes