Fork of React & D3 Starter
✓ Published0🌍 Public
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 descriptionMIT Licensed