Skip to main content
100%

loading and parsing the csv data

✓ Published0🌍 Public
Ddivyagunuguntla
Last edited Feb 26, 2022
Created on Feb 25, 2022

This example demonstrates how to load and parse CSV data using D3.js, displaying the dataset’s size, row count, and column count in a styled HTML `<pre>` element. It fetches stock data from a remote GitHub gist URL via `d3.csv`, then uses `d3.csvFormat` to calculate the file size in kilobytes. The page includes a heading, an embedded star SVG image, and applies CSS for visual formatting, all within a basic React-free HTML document.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes