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

0
VVenkata Rajashekar Reddy Chinthala
Last edited Feb 20, 2022
Created on Feb 20, 2022

This example shows a partially completed smiley face built with D3.js, rendered as SVG elements. A large green circle with a blue stroke forms the head, while a smaller circle represents the eye, and an arc path creates the mouth. The code uses D3 v7’s `select` and `arc` APIs to construct the mouth shape, with the SVG canvas explicitly sized at 960 by 500 pixels. The visualization is static, with no interactivity or data binding, highlighting the manual placement of geometric primitives.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed