🌍 Public
Viewing a saved revision (read-only)
e909fbc60a024a1b8f9fac7c7af9506f
2. Loading and parsing some CSV data
This example shows how to load and parse CSV data from a remote URL, then display summary statistics about the dataset. It fetches a CSV file containing CSS named colors, parses it with the `d3.csvParse` function from the `d3-dsv` library, and reports the file size in kilobytes, row count, and column count. The parsed data is displayed as plain text inside a styled `<pre>` element. The code uses the Fetch API to retrieve the text asynchronously before processing it.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.