🌍 Public
Viewing a saved revision (read-only)
4c589afdfe4a46f8a6863495babf405b
Loading and Parsing CSV Data On GitHub Gist
This example demonstrates loading a CSV file from a GitHub Gist and displaying summary statistics about it. The page uses d3.csv to fetch the remote dataset, then computes and shows the formatted data size in kilobytes, the row count, and the column count inside a large-format `<pre>` element. The code relies on d3.csvFormat to measure the data size and accesses the parsed array’s `length` and `columns` properties. The dataset referenced is the UCR Crime 1975–2015 CSV, though the displayed text labels it as “Boston Housing Data.”
AI-generated descriptionA program that loads and parses some CSV data.
Boston Housing Data https://gist.github.com/yuzhang21/7a3fc3afba92196c5f653f5e70d1b0a5