Skip to main content
100%

Fork of Loading and Parsing CSV Data g

✓ Published0🌍 Public
Ppytorchgirl
Last edited Dec 4, 2021
Created on Dec 4, 2021

This example demonstrates how to load and parse CSV data using D3 v5, displaying a summary of the CSS Named Colors dataset. The visualization shows three metrics: the file size in kilobytes, the number of rows, and the number of columns, presented in a large text format. It uses the `d3.csv` method with a Promise-based `.then()` callback to fetch the remote CSV file, then leverages `d3.csvFormat` to calculate the data’s byte length. The output is rendered into a `<pre>` element via standard DOM manipulation.

AI-generated description
MIT Licensed

Similar vizzes