dv2020-ep10-viz10 - Faces
✓ Published1🌍 Public
Two identical cartoon faces sit side by side on a yellow background, each with black outlined circles, two black eyes, and an open mouth formed by a thick arc. The faces are constructed from reusable React components, including `Face`, `FaceCircle`, `Eyes`, and `Mouth`, which compute their geometry from parameters like `faceSize` and `mouthWidth`. The `Mouth` component uses the `d3.arc` API to generate the mouth path, while the entire scene is drawn as an SVG rendered by React 16.9 and D3 v5.11.
AI-generated descriptionMIT Licensed