Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
LLawrence Liu
Last edited Apr 9, 2022
Created on Apr 9, 2022

This example demonstrates loading and parsing CSV data using D3 v5, displaying summary statistics about the dataset in a large HTML `<pre>` element. The visualization shows the file size in kilobytes, the number of rows, and the number of columns from a CSV file containing CSS named colors. The code uses `d3.csv` to fetch and parse the remote CSV URL, then `d3.csvFormat` to calculate the data’s size. The resulting text output updates the page via the Document Object Model’s `textContent` property.

AI-generated description
MIT Licensed

Similar vizzes