Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React & D3 Starter

Public visualization

Viewing a saved revision (read-only)

a928b3b213744cd5836e8b3e5c25698f

Fork of React & D3 Starter

0 stars0🌍 Public
YYujin
Last edited Nov 18, 2025
Created on Nov 18, 2025
Forked from React & D3 Starter

This fork of the React & D3 starter demonstrates a minimal integration between the two libraries, displaying the static text “Hello D3 & React” centered on the page. The code combines React 19’s `useRef` and `useEffect` hooks with D3’s `select` function to update the DOM element’s content after the component mounts. The example uses an import map to load React, ReactDOM, and D3 v7 as ES modules, and renders the application via `createRoot` from `react-dom/client`. No data or interactions are present; it serves as a baseline for hybrid React-D3 visualizations.

AI-generated description