Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley face part 1

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 1

0
Ssri7harsha
Last edited Feb 20, 2022
Created on Feb 20, 2022
Forked from Smiley face part 1

A stylized smiley face built with React and D3 v6, rendered as SVG. The face uses a green circle with a red stroke as the head, brown and red circles for eyes, and a D3 arc path for the mouth, with the arc’s inner radius and start/end angles set manually. The code imports the `arc` function from `d3` and defines all shape parameters in JavaScript, while React handles the SVG element creation and DOM rendering.

AI-generated description

completing the face with d3

Comments

Sign in to join the discussion.

MIT Licensed