Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
SSapna Nagwanshi
Last edited Jan 5, 2023
Created on Jan 5, 2023

This example demonstrates how to load and parse a CSV file containing CSS named colors, displaying the file size, row count, and column count in a large text output. The code uses D3 v5’s `d3.csv` method with a promise chain to fetch the data from a GitHub Gist URL. It highlights the concise approach of `d3.csv` compared to commented-out alternatives using `fetch`, `async`, and `await`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed