Skip to main content
100%

Fork of Not so Smiley Face

✓ Published0🌍 Public
RRamyapriyaPutta
Last edited Feb 20, 2022
Created on Feb 20, 2022
Forked from Not so Smiley Face

This fork of “Not so Smiley Face” uses React and D3 to render a yellow SVG smiley face, showing a circular head with black eyes and a mouth arc that is half-complete. D3’s `arc` API generates the mouth path, with its start and end angles set to create a downward curve, while the head and eyes are drawn as SVG circles. The visualization is static, with the face centered on a 960×500 canvas, and the mouth positioned separately below the face. The rendering relies on React’s `StrictMode` and `ReactDOM.render` to output the SVG.

AI-generated description

Half way towards a Smiley Face

MIT Licensed

Similar vizzes