Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data On GitHub Gist

Public visualization

Viewing a saved revision (read-only)

8f8014d494f542c6a66675f8de3d3717

Loading and Parsing CSV Data On GitHub Gist

0 stars0🌍 Public
Yyyaaa1
Last edited Sep 7, 2019
Created on Sep 7, 2019

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 description

A program that loads and parses some CSV data.

Boston Housing Data https://gist.github.com/yuzhang21/7a3fc3afba92196c5f653f5e70d1b0a5