Skip to main content
100%

ICE-5: Loading and Parsing CSV Data with D3.js

✓ Published1🌍 Public
AArruSkywalker
Last edited Jun 22, 2022
Created on Jun 22, 2022
Forked from HTML Starter

This example demonstrates loading a CSV file from a remote URL using D3.js version 7.3.0. It displays a summary message showing the approximate data size in kilobytes, the number of rows, and the number of columns in the dataset. The code calls `d3.csv()` to fetch and parse the CSV asynchronously, then uses `d3.csvFormat()` to compute the data's string length. The resulting summary is rendered in a red-styled `pre` element with a green header, providing a minimal check of the data loading pipeline.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes