Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React Starter

Public visualization

Viewing a saved revision (read-only)

a1358e33fb2b4c5191937cbcd64a236b

React Starter

0 stars0🌍 Public
AAndrey Furlan
Last edited Mar 1, 2020
Created on Mar 1, 2020
Forked from React Starter

A React starter example renders an empty div by default. It imports React, ReactDOM, and the full D3 library. The component uses a `useRed()` hook (likely a typo for `useRef()`) to reference the DOM node for chart placement. The data file defines a hierarchical JSON structure of world continents and countries, but the code does not currently visualize it. This demonstrates a minimal setup for integrating D3 within a React component lifecycle.

AI-generated description

React Starter code.