🌍 Public
Viewing a saved revision (read-only)
731fb7a2fc5f41dc85e19f06eeb6c7fb
ICE-5: Loading and Parsing CSV Data with D3.js
This example demonstrates the basic workflow of loading and parsing a CSV file with D3.js. A webpage with a bright red heading and blue SVG polygon displays a summary of the dataset, which is fetched from a remote GitHub Gist. The code uses `d3.csv()` to retrieve and parse the data, then checks the size of the formatted result with `d3.csvFormat()` to report the file size in kilobytes, along with the row and column counts, inside a large `<pre>` element. The visualization itself is static, relying on SVG markup defined directly in the HTML.
AI-generated descriptionA bare minimum HTML page.