Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face

Public visualization

Viewing a saved revision (read-only)

975cee640d3d4446adc30e38200e2339

Let's make a face

0 stars0🌍 Public
AApurva
Last edited Feb 20, 2021
Created on Feb 19, 2021

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 description

An example including some commonly used features of SVG.