Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

68b5fe97c3244977b7b4be935ea50e19

Fork of Loading and Parsing CSV Data

0 stars0🌍 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