Skip to main content
Public

Share visualization

Loading preview…

Let's make a face

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

Let's make a face

0
FFBIbaby
Last edited Jun 4, 2022
Created on Jun 4, 2022

The visualization displays a simple cartoon face built from a single pink circle with a black outline. Using D3 v5’s `select` method, the example appends an SVG circle element with fixed horizontal and vertical center coordinates and a radius of 200 pixels. The code demonstrates basic SVG attribute manipulation, including fill color, stroke color, and positioning, while the accompanying styles define stroke styling for line elements. This serves as a minimal introduction to creating geometric shapes with D3’s declarative approach.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed