🌍 Public
Viewing a saved revision (read-only)
7431aca44ddb462a93fb053bf9f520c0
Fork of Let's make a face with D3.js!
This example creates a smiling face made of SVG shapes—two circles for eyes, rectangles for eyebrows, and an arc for a mouth—arranged on a large orange circle. The eyebrows repeat a two-second animated loop that moves them upward and back down using chained D3 transitions with `transition.duration`. Built with d3.v5, it manually positions elements via `select` and `append` rather than data joins, computing coordinates from the SVG dimensions and using d3’s `arc` generator to define the mouth path.
AI-generated description