Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
SShyan2
Last edited Feb 21, 2022
Created on Feb 21, 2022
Forked from Hello HTML

This example demonstrates how to load and parse a CSV file using D3.js v7. It fetches a remote CSV dataset containing named CSS colors, then displays the file size in kilobytes, row count, and column count as large text on the page. The code uses d3.csv to retrieve and parse the data, then d3.csvFormat to calculate the file size, and writes the results to the DOM through textContent. The data source is a GitHub Gist URL.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes