React + d3
✓ Published0🌍 Public
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 descriptionA program to load the CSS data and parse it.
MIT Licensed