Skip to main content
100%

Loading and Parsing Data

✓ Published0🌍 Public
DDanny Stephens
Last edited Sep 4, 2021
Created on Sep 2, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3 v7, displaying a summary of the dataset’s size in rows, columns, and kilobytes. It fetches a remote CSV file of named CSS colors via `d3.csv`, then computes the row count from the parsed array and column count from `data.columns`. The page’s message is updated with this information, showing the result in large text. The code also includes commented alternatives using the Fetch API with `async/await`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes