Fork of ICE-5: Loading and Parsing CSV Data with D3.js
✓ Published0🌍 Public
This example demonstrates how to load and parse a CSV file from a remote URL using D3.js version 7. The page fetches movie data from a GitHub gist and displays summary statistics about the dataset, including its size in kilobytes, row count, and column count, within a styled HTML `<pre>` element. It uses the `d3.csv` method to asynchronously fetch and parse the data, `d3.csvFormat` to calculate the data size, and plain DOM manipulation to update the page content. The interface is simple, with styled headings and a centered message container showing the loaded information.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed