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)

980329f4b70e4443b865ded2b97df90e

Let's make a face

0 stars0🌍 Public
RRobinCugny
Last edited May 5, 2021
Created on May 5, 2021
Forked from D3 Starter

This example shows how to assemble a simple cartoon face from basic SVG shapes. D3 version 6 is used to select the SVG element, append circles for the head and eyes, and draw a mouth using the `d3.arc` shape generator. The face is centered within a 960×500 pixel viewport, with the mouth positioned via a translated group element. The code relies on standard D3 selection methods and the `arc()` generator to define the path for the mouth.

AI-generated description

A demonstration of how to start using D3 version 6.