Skip to main content
100%

Data Visualization 1

✓ Published0🌍 Public
JJohn Jeevasaeyan
Last edited Sep 4, 2021
Created on Sep 1, 2021
Forked from Smiley Face Part 1

This example displays basic metadata about a CSS-named-colors dataset loaded from a CSV file: the approximate file size in kilobytes, the number of rows, and the column names. It uses D3 v5’s `d3.csv` to fetch and parse the data, then writes the computed statistics into a large `<pre>` element on the page. The code also includes commented-out alternatives using `fetch` and `d3.csvParse` with async/await syntax.

AI-generated description

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

See also React Starter. Smiley Face Part 1

MIT Licensed

Similar vizzes