🌍 Public
Viewing a saved revision (read-only)
879b689fd6b147399c71626e03c4de5a
Loading and parsing CSV Data
This example demonstrates how to load and parse CSV data using D3, displaying a summary of the dataset in a large text element. It fetches a CSV file containing CSS named colors from a GitHub gist using `d3.csv`, then reports the file size in kilobytes, the number of rows, and the number of columns. The visualization also includes commented-out alternatives using the Fetch API and `d3.csvParse`, showing different approaches to achieving the same result.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.