Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
BBruno Albuquerque
Last edited Apr 1, 2022
Created on Apr 1, 2022

This example loads a CSV file containing CSS named colors and displays a text summary of its size and shape. The visualization simply reports the file size in kilobytes, the number of rows, and the number of columns, rendered in a large `<pre>` element. It uses the D3 v5 library's `d3.csv` method to fetch and parse the remote CSV data, and `d3.csvFormat` to compute the data size. The code also includes commented-out alternatives using `fetch` with async/await and a nested Promise structure.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed