Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
CChiedu Egbumokei Jr
Last edited Dec 21, 2021
Created on Dec 20, 2021
Forked from Hello HTML

This example demonstrates loading and parsing a CSV file with D3, displaying the file size, row count, and column count as large text. It uses d3.csv to fetch the dataset from a GitHub gist of CSS named colors, then relies on d3.csvFormat and data.columns to compute the metrics. The page is a minimal HTML document with a pre element for output, styled with em-based font sizing, and the visualization updates once the asynchronous data loading completes.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes