🌍 Public
Viewing a saved revision (read-only)
975cee640d3d4446adc30e38200e2339
Let's make a face
This example uses SVG shapes to draw a simple smiley face. The code constructs a yellow circle for the head, two black circles for the eyes, and a mouth created with an arc path, all positioned relative to the SVG’s width and height. It demonstrates basic SVG attributes and the `d3.arc` generator from D3 v6 to define the mouth’s curved shape, with static styling applied via CSS.
AI-generated descriptionAn example including some commonly used features of SVG.