🌍 Public
Viewing a saved revision (read-only)
4a8ecb1f1a5140bbb0436e8db66f06a2
Data Visualization 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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter. Smiley Face Part 1