Homework2_Loading and Parsing CSV data
✓ Published0🌍 Public
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.
MIT Licensed