Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualization with React and D3

Public visualization

Data Visualization with React and D3

0 stars1🌍 Public
KKtuzinowski
Last edited Jul 25, 2021
Created on Jul 24, 2021

This example demonstrates how React and D3 can work together to load and summarize a CSV dataset of CSS named colors. It shows a simple text output reporting the number of rows, columns, and file size in kilobytes. The code uses D3’s `d3.csv` to fetch and parse the remote data, then displays the computed metrics inside an HTML `<pre>` element. React manages the state of the loaded data, while D3 provides the data loading and formatting utilities.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to keep track of the data.

Comments

Sign in to join the discussion.

MIT Licensed