Skip to main content
100%

ice-5

✓ Published0🌍 Public
Ssowmyanagula@my.unt.edu
Last edited Feb 28, 2022
Created on Feb 28, 2022

This example demonstrates how to load and parse a CSV file using D3.js within a React application. It displays a message showing the data size in kilobytes, number of rows, and number of columns from a COVID-19 cases dataset pulled from a GitHub gist. The page also embeds an SVG image. The code uses `d3.csv` to fetch and parse the data, then `d3.csvFormat` to calculate the bytes, and finally writes the results into a `<pre>` element via the DOM API.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes