π Public
Viewing a saved revision (read-only)
cdc946a57d834bb5a604a2c0469f9f84
Fork of ICE-5: Loading and Parsing CSV Data with D3.js
PPallaviManupati
Last edited Feb 27, 2022
Created on Feb 27, 2022
This example demonstrates how to load and parse CSV data using D3.js, displaying the file size, row count, and column count in a styled HTML page. The page includes a custom SVG illustration and fetches a remote CSV file from a GitHub gist via the `d3.csv` method. The code counts the data length, formats the raw CSV text to estimate its size in kilobytes, and inserts the results into a `<pre>` element using standard DOM manipulation. The visualization is built with React and rendered as SVG, with CSS styling applied to the message container and heading.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.