Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
PPietro Pollo
Last edited Apr 28, 2023
Created on Apr 28, 2023

This example demonstrates how to load and parse CSV data in a web browser. It fetches a dataset of CSS named colors from a GitHub Gist and displays summary statistics—file size in kilobytes, row count, and column count—in large text. The primary implementation uses d3.csv to fetch and parse the data asynchronously, while commented-out alternatives show the same task using fetch with async/await and d3.csvParse, including a nested promise “pyramid of doom” pattern. The visualization itself is minimal, focusing purely on the data-loading workflow with d3.v5 in a React-free HTML page.

AI-generated description
MIT Licensed

Similar vizzes