Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 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
MIT Licensed

Similar vizzes