Skip to main content
100%

Fork of React & D3 Starter

✓ Published2🌍 Public
Oomogyliuk@gmail.com
Last edited Nov 26, 2025
Created on Nov 26, 2025
Forked from React & D3 Starter

This example demonstrates a minimal integration of React and D3, where the text "Hello D3 & React" is rendered inside a React component. The component uses a `useRef` hook and a `useEffect` hook to select a DOM element via D3's `select` method and set its content, while React handles the component mounting through `createRoot` from `react-dom/client`. The imports include React 19, D3 v7, and are loaded through an import map in the HTML. The styling applies a large font size centered in the page.

AI-generated description
MIT Licensed

Similar vizzes