Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

2ff16acc3dac4f42a9986b6f28c4e443

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
Ssumukh-bharadwaj
Last edited Nov 14, 2021
Created on Nov 14, 2021

This example demonstrates loading and parsing CSV data from a remote URL, displaying summary statistics as large text. It fetches the CSS Named Colors dataset and shows the file size in kilobytes, row count, and column count. The visualization uses D3 v5’s `d3.csv` method to fetch and parse the data asynchronously, leveraging JavaScript promises. An alternative commented-out approach uses the Fetch API with `async`/`await` and `d3.csvParse` for the same purpose.

AI-generated description