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)

3893b3c9430e4b07bcb1052de4339741

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
TTakuya Kitazawa
Last edited Jan 12, 2021
Created on Jan 12, 2021

This visualization demonstrates the size and structure of a CSV dataset containing CSS named colors. It displays the file size in kilobytes, the number of rows, and the number of columns in a large text readout. The code fetches the remote CSV file using `d3.csv`, then calculates the formatted byte count with `d3.csvFormat` and accesses the parsed data’s length and column information. The example also includes commented-out alternatives using `fetch`, async/await, and `d3.csvParse` to show different parsing workflows.

AI-generated description