🌍 Public
Viewing a saved revision (read-only)
5e4842010ce24fc0ab036fe1a6cc5090
Let's make a face with D3.js
A yellow circle with a black outline forms a face, featuring two eyes that enlarge over time and a smiling mouth shaped by an arc. The example demonstrates SVG rendering and animation in a React framework using D3.js v5. It uses `d3.select` and `d3.arc` to construct the shapes and applies `transition().duration(2000)` to animate the eyes from a radius of 20 to 30 pixels. The face is centered via a translation transform.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.