Skip to main content
100%

Loading and Parsing CSV Data: College Scorecard Outcomes Data

✓ Published0🌍 Public
JJCarpenter-WPI
Last edited Sep 18, 2019
Created on Sep 4, 2019

This example demonstrates loading and parsing a CSV file from the College Scorecard Outcomes dataset. It displays the raw data size in kilobytes, the number of rows, and the number of columns as large text on a blank page. The code uses the `d3.csv` method with a promise callback to fetch and parse the remote CSV, then reports the results via `d3.csvFormat` to calculate the file size. An alternative commented-out approach uses `fetch`, `async`/`await`, and `d3.csvParse`.

AI-generated description

A program that loads and parses some CSV data. The data come from the College Scorecard Data, a Department of Education dataset. This dataset includes information on outcomes, or post-school earnings, by institution. The dataset is available at College Scorecard Outcomes Select Variables.

MIT Licensed

Similar vizzes