Skip to main content
100%

CSV Data

✓ Published0🌍 Public
PPathan Khuvanejarkhan
Last edited Jan 27, 2023
Created on Jan 27, 2023
Forked from CSV Data

This example demonstrates fetching and parsing a remote CSV file to display a summary of its contents, including the number of rows, columns, and file size in kilobytes. The React app uses the `fetch` API to retrieve the data, then leverages `d3.csvParse` to convert the raw text into a structured table, which is inspected to compute the statistics. The resulting message is rendered inside a `<pre>` element with a large font size, providing a minimal and direct visualization of the dataset's dimensions. The code relies on D3 v7, React 18, and the ReactDOM client.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes