Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Face Part IV

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 IV

0
Jjulia-amelie
Last edited Mar 28, 2021
Created on Mar 27, 2021

A smiling face built from React components renders as an SVG, with a yellow background circle, two black eyes, and a D3-generated mouth arc. The code imports `BackgroundCircle`, `Eyes`, and `Mouth` components, each receiving props for size and position, and the mouth uses `d3.arc` to create a curved path. All elements are centered within a 960x500 SVG canvas, demonstrating a clear separation of visual parts as reusable React functions.

AI-generated description

Smiley face implementation with React & D3, using a React component.

Comments

Sign in to join the discussion.

MIT Licensed