Skip to main content
Public

Share visualization

Loading preview…

Lets make a face with D3.js!

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

Lets make a face with D3.js!

0
JJingDu123
Last edited Oct 14, 2019
Created on Oct 14, 2019
Forked from Cars Scatter Plot

This example draws a simple cartoon face from basic SVG shapes using D3.js v5. The code builds a yellow circle for the face, two black circles for eyes, and a mouth created with the `d3.arc` API, all positioned within an SVG canvas. The face is constructed procedurally using D3 selections to append elements, with SVG attributes controlling size and placement. No external data is used, making it a purely illustrative demonstration of D3's shape generation and coordinate-based rendering.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

Comments

Sign in to join the discussion.

MIT Licensed