Fork of Fork of HTML Starter
✓ Published0🌍 Public
This example renders a large face using React and D3, with a radially gradient-filled circle for the head, eyes, pupils, and an arc-based mouth. The SVG output is composed via React components, while the mouth shape is generated using the D3 `arc()` function with explicit start and end angles. All shapes are positioned using computed offsets and radii, and the face is centered within a fixed 960-by-500 viewport. The page loads React 17 and D3 v7 from CDNs, and the code demonstrates a minimal but complete React-D3 integration without external data.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed