Skip to main content
100%

d3 + react + parse data

✓ Published2🌍 Public
CCarlos Caballero
Last edited Mar 2, 2021
Created on Mar 1, 2021
Forked from Follow Mouse

This example demonstrates how to combine React and D3 to parse and summarize a CSV dataset of CSS named colors. After fetching the data with `d3.csv`, it displays a textual summary using `d3.csvFormat` to report the file size in kilobytes, the row count, and the column count. The React `useState` and `useEffect` hooks manage the asynchronous data loading and render a simple message while awaiting the response. The visualization is minimalist, presenting only computed statistics rather than a graphical chart.

AI-generated description

use react, d3, to parse and visualize data about css named colors

MIT Licensed

Similar vizzes