🌍 Public
Viewing a saved revision (read-only)
992747b568804faa9ba0fad855889f4b
Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data using D3 v6. It fetches a remote CSV file containing CSS named colors and displays a summary of the dataset, including its size in kilobytes, row count, and column count. The visualization uses `d3.csv` to fetch and parse the data asynchronously, then computes the formatted CSV string length with `d3.csvFormat` and accesses the parsed data’s `length` and `columns` properties. The result is rendered as large text in a `<pre>` element, illustrating basic data loading and metadata extraction.
AI-generated descriptionLoading, parsing and summarizing CSV data.