Skip to main content
Public

Share visualization

Send this visualization to others.

D3 Face

Public visualization

By Hogusong on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

D3 Face

0 stars2Public
YYoung Song
Last edited Jun 23, 2022
Created on Jun 16, 2022
Forked from D3 Starter

This example draws a cartoon face from SVG shapes. A yellow circle forms the head, two black circles serve as eyes, and a mouth is rendered as a dark arc using the `d3.arc()` helper. The coordinate positions and radii for the face, eyes, and mouth are calculated from the SVG’s width and height attributes. The code imports `select` and `arc` from D3 v7 and appends all elements to an SVG with an orange background.

AI-generated description
  • Loading d3.js
  • Importing d3 function using ES6
  • Creating a face using SVG and d3

Comments

Sign in to join the discussion.

MIT Licensed