Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SmileDemo

Public visualization

SmileDemo

0 stars0🌍 Public
Vvanvan0415
Last edited May 3, 2022
Created on May 3, 2022
Forked from HTML Starter

A smiling face composed of SVG shapes is rendered with a yellow circle for the head, two black circles for eyes, and a black arc for the mouth. Built with React and D3 v7, the example uses the `arc()` generator from d3 to define the mouth’s curved path, while a reusable `Face` component handles the head. The SVG is centered and scaled based on fixed width and height values, with ReactDOM rendering the final composition.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed