Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
JJamie W
Last edited Feb 20, 2026
Created on Feb 20, 2026
Forked from React & D3 Starter

This example shows a minimal React 19 application that uses D3.js to render a static text message. The component displays “Hello D3 & React” in large, centered type by calling `select` from d3.v7 within a React `useEffect` hook. The app loads React, ReactDOM, and D3 via ES module imports from a CDN, with no build step required. It demonstrates how to integrate D3’s selection API with React’s virtual DOM using a `useRef` hook.

AI-generated description

React & D3 Starter

A minimal starter template combining React 19 and D3.js for data visualization.

Features

  • React 19 with JSX support
  • D3.js for data visualization
  • ES modules via CDN imports
  • No build step required

Getting Started

  1. Open index.html in a modern web browser
  2. The app will display "Hello D3 & React"

Files

  • index.html - Entry point with import map configuration
  • index.jsx - React application component
MIT Licensed

Similar vizzes