Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Task

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 Task

1
Ssuchitra2602
Last edited Jun 19, 2022
Created on Jun 19, 2022
Forked from Smiley Task

This example renders a stylized smiley face using React and D3.js, drawing SVG shapes such as circles, paths, ellipses, and lines. It uses the `d3.arc` API to construct the mouth and eye arcs, with predefined inner and outer radii and angles. The face is centered within a 960×500 viewport, featuring yellow circular head, black outlined eyes with white highlights, a red tongue, and additional line-based hair or accessory details, all composed programmatically.

AI-generated description

completing the face with d3

Comments

Sign in to join the discussion.

MIT Licensed