Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example visualizes the size and structure of a CSV dataset containing CSS named colors by displaying its file size, row count, and column count as large text. It loads the data from a remote GitHub Gist using d3.csv, which returns a parsed array, then computes the kilobytes from the formatted CSV string using d3.csvFormat. The code also includes commented-out alternatives using fetch, async/await, and d3.csvParse, demonstrating different approaches to asynchronous data loading in D3 v5 within a React-based project.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed