Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

let's make a face with d3.js

Public visualization

Viewing a saved revision (read-only)

fec8c77ad9d44a688c5bdedb6da3510f

let's make a face with d3.js

0 stars2🌍 Public
RRoque Luís Pina
Last edited Feb 1, 2021
Created on Feb 1, 2021
Forked from HTML cars Report

A yellow circle with black eyes and an arc-based mouth forms a simple cartoon face in an SVG canvas. The code uses d3-selection to append and position the circles, while the mouth is drawn with d3.arc() using inner and outer radii plus start and end angles. All shapes are rendered directly as SVG elements, with dimensions derived from the SVG attributes. The face is centered within a 680×500 viewport, demonstrating basic geometric composition without data binding or interaction.

AI-generated description