🌍 Public
Viewing a saved revision (read-only)
df6a0f7288c240279b3a00c8dbbc00f0
ICE-5: Loading and Parsing CSV Data with D3.js
This example demonstrates how to load and parse a CSV dataset in the browser using D3.js, displaying basic metadata about the movie dataset in a pre-formatted text container. The page shows the dataset’s file size in kilobytes, row count, and column count. It uses the `d3.csv` method to fetch the remote CSV file from a GitHub gist, then employs `d3.csvFormat` to calculate the data size. The results are written to the DOM via `document.getElementById` with React.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.