Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Jjaowei
Last edited Mar 31, 2021
Created on Mar 31, 2021

This example displays a simple text summary of CSV data loaded from a remote URL, showing the file size in kilobytes, row count, and column count. The visualization uses D3.js v5 to fetch and parse the CSS Named Colors dataset from a GitHub gist, leveraging the `d3.csv` function to handle the asynchronous loading and parsing. The parsed data is then formatted back into a string with `d3.csvFormat` to calculate its memory footprint, and the resulting statistics are rendered as large text in an HTML `<pre>` element. The code demonstrates a straightforward data-loading workflow without any graphical charting.

AI-generated description
MIT Licensed

Similar vizzes