Skip to main content
100%

Loading and Parsing NASCAR Data

✓ Published0🌍 Public
RRobert Johnson
Last edited Sep 27, 2021
Created on Sep 5, 2021

This example demonstrates how to load and parse NASCAR race data from a CSV file using the D3.js library. It displays the dataset’s size in kilobytes, the number of rows, and the number of columns in large text on a web page. The code uses `d3.csv` to fetch the remote CSV file, `d3.csvFormat` to calculate the data size, and accesses the dataset’s `length` and `columns` properties. The result is presented in a `<pre>` element styled with a large font size.

AI-generated description

A program that loads and parses a datset containing information on every NASCAR race held between 1975 and 2003.

MIT Licensed

Similar vizzes