Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
MMGamboa
Last edited Apr 30, 2021
Created on Apr 27, 2021

This example demonstrates loading and parsing CSV data using D3 v6. It fetches a dataset of CSS named colors from a GitHub gist and displays three summary values: file size in kilobytes, total row count, and column count. The code uses `d3.csv` to load the remote file and `d3.csvFormat` to calculate its size, then renders the results as large text. The page also shows a commented-out older approach using `fetch` and `d3.csvParse` for comparison.

AI-generated description
MIT Licensed

Similar vizzes