Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Bbhavani44
Last edited May 9, 2022
Created on May 9, 2022

This example shows the result of loading and parsing a CSV file containing CSS named colors. The interface displays three summary statistics: the approximate file size in kilobytes, the number of data rows, and the number of columns. It uses D3 v5’s `d3.csv` function to fetch the remote resource and parse it, then leverages the `d3.csvFormat` method to calculate the raw character count. The parsed data object’s `length` and `columns` properties provide the row and column counts, which are rendered inside an HTML `<pre>` element.

AI-generated description
MIT Licensed

Similar vizzes