🌍 Public
Viewing a saved revision (read-only)
2dddab3c9a9c4bd591d193bf94c8d7d6
Loading and Parsing CSV Data
This example demonstrates the loading and parsing of CSV data by fetching a remote file of CSS named colors and displaying summary statistics about it. The visualization shows the data size in kilobytes, the number of rows, and the number of columns as large, centered text on a plain HTML page. It uses the D3.js v6 library’s `d3.csv` method to parse the data and `d3.csvFormat` to calculate its size, alongside the native `fetch` API for retrieving the file. The data originates from a GitHub Gist.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.