Skip to main content
100%

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

✓ Published0🌍 Public
KKenny Barns PIERRE
Last edited Dec 11, 2021
Created on Dec 11, 2021
Forked from Hello VizHub

This visualization displays a simple smiley face built from basic SVG shapes, with a yellow circular head, black outlined stroke, two solid black eyes, and a mouth drawn as an arc. The face is centered on a 960 by 500 canvas, with the head radius sized to leave a consistent stroke margin. The example uses React to render the SVG structure and leverages the d3 `arc` function to define the mouth’s path, specifying its inner and outer radii and angular range. The code relies on the React and D3 libraries loaded via the provided scripts.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes