🌍 Public
Viewing a saved revision (read-only)
1ea40bd2040e4549a098f62a0e0e3e0c
ICE-5: Loading and Parsing CSV Data with D3.js
This example demonstrates how to load and parse CSV data in the browser using D3.js version 7. It fetches an Iris flower dataset from a GitHub gist and displays the file size in kilobytes, row count, and column count in a styled HTML page. The code uses both the `d3.csv` promise-based method and a manual `fetch` combined with `d3.csvParse` to show two parsing approaches. Results appear in a large text element alongside a decorative SVG flower image.
AI-generated descriptionA bare minimum HTML page.