🌍 Public
Viewing a saved revision (read-only)
cd6acc3a007947529685e27c0f8b19d8
Homework2_Loading and Parsing CSV data
This example displays a simple summary of a CSV file’s contents, showing the file size in kilobytes, the number of rows, and the number of columns as large text on a white page. It loads data from a GitHub-hosted CSS named colors CSV file using d3.csv, then uses d3.csvFormat to measure the formatted data length for the size estimate. The results are inserted into a pre element via d3’s data join and the textContent property, with no charts or visual encoding beyond the numeric readout.
AI-generated descriptionA program that loads and parses some CSV data.