Skip to main content
100%

Smiley Face Part - 1

✓ Published0🌍 Public
AAdamCottrill
Last edited Jan 29, 2020
Created on Jan 27, 2020
Forked from Hello HTML

A yellow smiley face is drawn on a white canvas using React and SVG, centered at 960 by 500 pixels. The face includes a black-outlined yellow head, two black eyes offset symmetrically, and a mouth rendered as an arc using d3.arc. The code constructs reusable React components for the background circle and eyes, then positions them within a translated SVG group. The mouth is generated by an arc path with specified inner and outer radii, and the example is part of a learning series from Curran's Datavis-2020 course.

AI-generated description

End of the smiley face example from Curran's Datavis-2020 course.

MIT Licensed

Similar vizzes