Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering data with React

Public visualization

Fork of Rendering data with React

0 stars0🌍 Public
Aafcchilders
Last edited Feb 10, 2022
Created on Feb 10, 2022

This example demonstrates loading and rendering CSS color data from a CSV file. The React app fetches the dataset using d3.csv, displays a loading state while the data is being retrieved, and then renders the results. The visualization uses React 16.9 with hooks (useState and useEffect) to manage the asynchronous data loading, while d3.v7 handles the CSV parsing. The SVG output is rendered through ReactDOM into a root div element, following the pattern shown in the accompanying video tutorial on rendering data with React.

AI-generated description

A program that loads in some data about CSS colors

Comments

Sign in to join the discussion.

MIT Licensed