Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

d3 + react + parse data

Public visualization

d3 + react + parse data

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed