Skip to main content
Explore
Solutions
Bespoke Studio
Pricing
Quick Start
Demo
Log in
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Home
•
Fork Viz
Fork Viz
Create your own copy of this visualization.
Forking from
Loading and Parsing CSV Data
Title
*
Description
This example demonstrates how to load and parse CSV data by fetching a dataset of CSS named colors and displaying its size, row count, and column count as large text. The code uses `d3.csv` to fetch and parse the remote CSV file, then reports the file size in kilobytes, the number of data rows, and the number of columns. It also includes commented-out alternatives using `fetch` and `async/await` with `d3.csvParse`. The dataset originates from a GitHub gist containing CSS color names with their RGB values.
Visibility
Public
Private (only you), Pro
Unlisted (anyone with link)
Private work requires Pro.
Upgrade
Cancel
Fork Viz