Skip to main content
100%

Loading Data and Parsing CSV Data

✓ Published0🌍 Public
DDanier
Last edited Sep 14, 2021
Created on Sep 14, 2021

This example demonstrates how to load and parse a CSV file using D3.js version 5.11.0. It fetches a CSS named colors dataset from a GitHub gist and displays the file size in kilobytes, the total number of rows, and the number of columns in a large text element. The code uses the `d3.csv()` method to retrieve and parse the data, then accesses the resulting array's `length` and `columns` properties to generate the summary message.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the NY Times Covid-19 Dataset US .

MIT Licensed

Similar vizzes