Skip to main content
Public

Share visualization

Loading preview…

cse-a

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

cse-a

0
AAnanyathakur01
Last edited Sep 21, 2023
Created on Sep 21, 2023

This smiley face is a simple data visualization built as a React component, rendered as an SVG. It displays a yellow circle with a black outline, two eyes, and a mouth arc. The code uses React for the component structure and `d3.arc` from D3 v5 to generate the mouth path. The SVG is defined with a fixed width and height, and the face is centered using a transform. All shapes are drawn with basic SVG elements—circles for the face and eyes, and a path for the mouth.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed