🌍 Public
Viewing a saved revision (read-only)
d4b1a84d39cb4a4891449b7d3740132a
Fork of Loading and Parsing CSV Data
This example demonstrates loading a CSV file of CSS named colors and displaying summary statistics about the dataset. The visualization presents the file size in kilobytes, the total number of rows, and the number of columns in a large text format. The code uses D3 version 5’s `d3.csv` method to fetch and parse the remote CSV data from a GitHub gist, then applies `d3.csvFormat` to compute the textual representation size. The results are rendered into an HTML `<pre>` element via JavaScript DOM manipulation.
AI-generated description