🌍 Public
Viewing a saved revision (read-only)
50adf7340a0048bc921c8496447cdf10
Loading and Parsing CSV Data
This example demonstrates loading and parsing CSV data using D3. It fetches a CSV file containing CSS named colors from a GitHub gist and uses the `d3.csv()` function to parse it. The visualization displays the parsed dataset’s metrics in a large text format, showing the row count, column count, and file size in kilobytes, which is computed with `d3.csvFormat()`. The code also includes commented alternatives using `fetch()` and `d3.csvParse()` with async/await syntax.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.