Skip to main content
100%

React + d3

✓ Published0🌍 Public
MMayank Kumar
Last edited Sep 24, 2023
Created on Sep 24, 2023
Forked from Load data to React

This example displays basic summary statistics about a CSS named colors dataset fetched from a GitHub gist. Using `d3.csv` to load the remote CSV file, it calculates the file size in kilobytes, the number of data rows, and the number of columns, presenting these three values as a plain text message in the DOM. The code demonstrates a simple React-free integration of d3.v7 with vanilla JavaScript, relying on `d3.csvFormat` to compute byte length and the `data.length` and `data.columns.length` properties for the row and column counts.

AI-generated description

A program to load the CSS data and parse it.

MIT Licensed

Similar vizzes