09-parsing data with d3
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed