Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Ccremcircle@gmail.com
Last edited Nov 9, 2024
Created on Nov 9, 2024

This example demonstrates loading and parsing CSV data using the D3.js library. It fetches a dataset of CSS named colors from a GitHub Gist and displays summary statistics—file size in kilobytes, row count, and column count—in a large preformatted text element. The code uses the `d3.csv` function to fetch and parse the data, then calculates metrics with `d3.csvFormat` and property accessors. A commented alternative shows the same process using the Fetch API with async/await and `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes