Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React D3

Public visualization

React D3

0 stars0🌍 Public
KKediBabasi
Last edited Mar 18, 2021
Created on Feb 26, 2021

This example demonstrates how D3's data-loading utilities can be integrated with React’s state management. It fetches a CSV file of CSS named colors from a GitHub gist using D3’s `csv` function, then displays a summary message in a React component. The message, generated by a custom module, reports the data’s formatted size in kilobytes, row count, and column count. The visualization is rendered as SVG through React, using D3 v5 and React 16.9, with the output displayed as plain text inside a `<pre>` element.

AI-generated description

A program that loads data using D3 utilities and use React state to keep tack of data

Comments

Sign in to join the discussion.

MIT Licensed