Skip to main content
100%

Untitled

✓ Published0🌍 Public
Cchar0496
Last edited Apr 16, 2022
Created on Apr 16, 2022

This example displays a concise summary of a CSV dataset loaded from a remote URL, showing the file size in kilobytes, the number of rows, and the number of columns. Using D3.js v5, it calls `d3.csv` to fetch and parse the data, then uses `d3.csvFormat` and `data.columns` to compute the statistics, displaying them in a large HTML `<pre>` element. The visualization demonstrates asynchronous data loading with promises, highlighting the simplicity of the `d3.csv` API over raw `fetch` and `await` alternatives.

AI-generated description
MIT Licensed

Similar vizzes