Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
WWilmot Osei-Bonsu
Last edited Feb 24, 2022
Created on Feb 24, 2022

This example demonstrates how to load and parse CSV data from a remote URL, displaying the file size, row count, and column count in a large HTML `<pre>` element. It fetches the CSS Named Colors dataset using the Fetch API with `fetchText`, then parses the raw text with `d3.csvParse` from d3.v5. The resulting message updates the page via `document.getElementById().textContent`, showing quantitative metadata about the parsed dataset. The visualization is minimal, focusing on the data-loading pipeline rather than graphical representation.

AI-generated description
MIT Licensed

Similar vizzes