Skip to main content
100%

Fork of ICE-5: Loading and Parsing CSV Data with D3.js

✓ Published0🌍 Public
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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes