Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
KKaiXuan Chin
Last edited Jul 29, 2021
Created on Jul 29, 2021

This example demonstrates how to load and parse CSV data using the D3 library. It fetches the CSS Named Colors dataset from a GitHub gist and displays summary statistics: file size in kilobytes, row count, and column count. The code uses `d3.csv` with a Promise-based `.then()` method to handle the asynchronous data loading, then formats the output with `d3.csvFormat` and updates the DOM via `textContent`. The visualization is minimal, showing only text statistics rather than a graphical chart.

AI-generated description
MIT Licensed

Similar vizzes