Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

987c8f90842a4b8cb19ae80135633649

Loading Data and Parsing CSV Data

1 star0🌍 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 .