Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Bbencooper6851
Last edited Mar 18, 2021
Created on Mar 18, 2021

This example loads and parses the CSS Named Colors CSV dataset, displaying summary statistics about the data—its size in kilobytes, row count, and column count—in a large text format. It uses D3 v5’s `d3.csv` function to fetch and parse the data from a GitHub Gist URL. The code also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`, illustrating multiple approaches to CSV loading within a React-based visualization context.

AI-generated description
MIT Licensed

Similar vizzes