Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

09-parsing data with d3

Public visualization

Viewing a saved revision (read-only)

68afafde013f48389f27df8547d18b1f

09-parsing data with d3

0 stars0🌍 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.