🌍 Public
Viewing a saved revision (read-only)
0b0c986ab60547dba3188ed88bf885da
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.