Skip to main content
100%

Footfall Data with React & D3

✓ Published0🌍 Public
AAchilleasTyrnenopoulos
Last edited Nov 13, 2021
Created on Nov 13, 2021

This example displays summary statistics about a yearly footfall dataset, presenting file size, row count, and column details as plain text. It fetches CSV data asynchronously using the `csv` function from D3 v7, stores the result in React state with `useState` and `useEffect`, and renders the output using ReactDOM. The code demonstrates a minimal React integration with D3, where a custom module (`msg.js`) formats the data metrics for display in a large `<pre>` element.

AI-generated description
MIT Licensed

Similar vizzes