Skip to main content
Public

Share visualization

Loading preview…

Fork of Data_Visualization_YellowFace_PY

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 Data_Visualization_YellowFace_PY

3
TTulluripallavi
Last edited Feb 20, 2022
Created on Feb 20, 2022

Built with D3 v7, this visualization presents a simple yellow smiley face drawn as SVG shapes on a 960×500 canvas. The face consists of three filled circles for the head and eyes, plus a black-stroked mouth path generated using the `arc()` generator. The mouth arc is positioned with inner and outer radii and angled from π/2 to π, creating a half-smile. The code selects the SVG element with `d3.select` and appends a group with a translation transform to position the mouth. No dynamic data or interactions are included; it is a static geometric composition demonstrating fundamental D3 shape generation.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed