Skip to main content
100%

CSV de

✓ Published1🌍 Public
MMayank Kumar
Last edited Sep 23, 2023
Created on Sep 23, 2023

This example loads a CSV file of CSS named colors from a GitHub gist and displays basic metadata about it in large text: the file size in kilobytes, the number of rows, and the number of columns. It uses `d3.csv` to fetch and parse the data, then `d3.csvFormat` to compute the size, and writes the summary to a `pre` element. The code also includes an alternative approach using `fetch` with `d3.csvParse`, though it is commented out.

AI-generated description

A program to load the CSS data and parse it.

MIT Licensed

Similar vizzes