🌍 Public
Viewing a saved revision (read-only)
e17cb6fc9e8b43fb9d95d33f01f85782
Fork of Loading and Parsing CSV Data
This example demonstrates loading and parsing a CSV file containing CSS named colors, then displaying summary statistics about the dataset. The visualization presents a simple text message showing the file size in kilobytes, the number of columns, and the number of rows. The code uses the D3.js version 6 library, specifically the `d3.csv` method to fetch and parse the remote CSV data from a GitHub gist URL. After parsing, it calculates the file size using `d3.csvFormat` and outputs the results to both the console and the page body.
AI-generated description