🌍 Public
Viewing a saved revision (read-only)
cb19ae0ffcab4bdc8d025588297bb9cb
Fork of React & D3 Starter
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 description