Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
MMuhammad Meigooni
Last edited Nov 2, 2020
Created on Nov 4, 2020

This example demonstrates how to load and parse CSV data using D3 v5, displaying the file size, row count, and column count of a CSS Named Colors dataset. The page also includes a small interactive SVG with three circles that show a tooltip on mouseover, using D3 selections and event handlers. The code illustrates both the modern async/await approach with `fetch` and `d3.csvParse`, as well as a commented-out nested promise example. Data comes from an external CSV file linked in the README.

AI-generated description

A program that loads and parses some CSV data: CSS Named Colors.

MIT Licensed

Similar vizzes