Skip to main content
100%

Make a Face Part III with React and D3

✓ Published1🌍 Public
Ooliver488
Last edited Aug 30, 2020
Created on Aug 30, 2020

This example shows a stylized cartoon face built entirely from SVG primitives, with a yellow circular head, two black eyes, and a mouth shaped as a semicircular arc. The face is centered on a 960 by 500 canvas using React components to define each element, while D3’s `arc` generator calculates the mouth’s path. All coordinates, such as eye offsets and radii, are constant, and the rendering relies on React 16 and D3 v6.

AI-generated description

Make a Face Part III with React and D3

MIT Licensed

Similar vizzes