Fork of React & D3 Starter
✓ Published0🌍 Public
This example demonstrates a minimal integration of React 19 and D3.js version 7, where a single line of text is rendered. The code uses React hooks (`useRef`, `useEffect`) to manage the DOM element and the D3 `select` API to update its content, displaying "Hello D3 & React" via an SVG-less `<div>`. The starter template relies on ES modules with an import map, loading both React and D3 from a CDN without any build tools. The visualization itself is not data-driven; it focuses on the basic setup and interaction between the two libraries.
AI-generated descriptionReact & D3 Starter
A minimal starter template combining React 19 and D3.js for interactive visualizations.
Features
- React 19 with hooks
- D3.js for data visualization
- ES modules with import maps
- No build tools required
Usage
Open index.html in a modern browser to see the hello
message rendered with D3.
MIT Licensed