Loading and parsing CSV
✓ Published1🌍 Public
This example demonstrates the basic process of loading and parsing a CSV file with D3, displaying the file size, row count, and column count of the dataset. It fetches a CSV of CSS color names from a GitHub gist using `d3.csv`, then formats the response with `d3.csvFormat` to calculate its size in kilobytes. The code also includes commented alternatives using the Fetch API with async/await and `d3.csvParse` for manual text parsing.
AI-generated descriptionA program that loads and parses CSV.
A bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed