Skip to main content
100%

Smiley Face Part 1

✓ Published0🌍 Public
Ssoongjeng
Last edited Jul 21, 2021
Created on Jul 13, 2021
Forked from Hello HTML

A yellow smiley face rendered with SVG sits centered on a dark background, featuring two black eyes and a curved mouth arc. Built with React and D3 v7, the visualization uses D3's `arc` generator to construct the mouth path, while circles define the face and eyes. The code imports `arc` directly from the d3 package and applies it within a React component that renders SVG elements, positioning everything via a translated group at the canvas center.

AI-generated description

Half way towards a smiley face.

<!-- A bare minimum [HTML](https://en.wikipedia.org/wiki/HTML) page. <iframe width="560" height="315" src="https://www.youtube.com/embed/QT5ef8dUyoo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> -->
MIT Licensed

Similar vizzes