Skip to main content
100%

Fork of loading data with react and d3

✓ Published0🌍 Public
NNart Williamson
Last edited Apr 26, 2021
Created on Apr 26, 2021

This example demonstrates how to load and display CSV data in a React application using D3’s `d3.csv` method. It fetches a dataset of CSS named colors from a GitHub gist and stores the parsed rows in component state via React’s `useState` and `useEffect` hooks. The code includes a commented-out SVG visualization of circles, suggesting potential rendering with React elements, though no visual output is actively rendered. A utility function in `message.js` calculates dataset statistics like file size, row count, and column count using `d3.csvFormat`.

AI-generated description

program that loads in some data using d3

MIT Licensed

Similar vizzes