Skip to main content
100%

Loading + Parsing: d3

✓ Published0🌍 Public
Zzeeeeem
Last edited Apr 18, 2022
Created on Apr 17, 2022

This example demonstrates loading and parsing CSV data with D3.js. It fetches a CSV file containing CSS named colors, then displays three summary metrics: the dataset size in kilobytes, the number of rows, and the number of columns. The primary implementation uses `d3.csv` with a Promise, while commented-out alternatives show `fetch` with `async/await` and `d3.csvParse`. Results appear as large text in an HTML `<pre>` element.

AI-generated description
MIT Licensed

Similar vizzes