Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Face Part I

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Smiley Face Part I

0
Ddineshtadepalli12
Last edited Feb 19, 2022
Created on Feb 19, 2022
Forked from Smiley Face Part I

This example displays a simple smiley face drawn with SVG shapes inside a React component. The face consists of a green circle with a black stroke for the head, two black circles for eyes, and a mouth created using an arc path. The code uses D3’s `arc` generator to define the mouth with specified inner and outer radii and angles, while React renders the SVG elements. The fixed viewport is 960 by 500 pixels, and the face is centered using a translation transform.

AI-generated description

Halfway towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed