Skip to main content
100%

Fork of Fork of Let's Make a Face Part I

✓ Published0🌍 Public
990561lkk
Last edited Apr 15, 2021
Created on Apr 15, 2021

This example shows a static smiley face built from three basic SVG shapes: two eyes and a head drawn with circles. The code uses raw SVG elements via D3 v3 syntax, though it relies on plain HTML markup rather than D3 data joins. The face is centered within an SVG canvas sized 960 by 500 pixels, with the head filled yellow and outlined in black, while the eyes remain unfilled. The rendering approach is simple declarative SVG, with positions explicitly set as pixel coordinates for each circle.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes