Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
MMJ
Last edited Jul 9, 2021
Created on Jul 9, 2021
Forked from D3 Starter

This example demonstrates how to integrate React with D3 version 6 to load and display dataset statistics. It fetches a CSV file of CSS named colors using `d3.csv`, then renders the file size in kilobytes, row count, and column count via `csvFormat`. The application uses React hooks (`useState`, `useEffect`) to manage asynchronous data loading and displays the result in a `<pre>` element. The code highlights the basic workflow of combining React's component model with D3's data-handling utilities.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes