Skip to main content
100%

09-parsing data with d3

✓ Published0🌍 Public
Mmygynt679
Last edited Apr 8, 2023
Created on Apr 8, 2023

This example demonstrates how to parse a CSV file with D3, displaying the file size, row count, and column count of a dataset containing CSS named colors. It uses d3.csv to load the remote CSV, then computes the formatted string length in kilobytes with d3.csvFormat. The parsed data is summarized in a large HTML <pre> element. A commented-out alternative shows the same result using the Fetch API with async/await and d3.csvParse.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes