Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face

Public visualization

Lets make a face

0 stars1🌍 Public
Nneydareh
Last edited Nov 18, 2019
Created on Nov 18, 2019
Forked from Hello VizHub

A face built from basic SVG shapes appears in the center of the canvas, with a yellow circle for the head, two dark eyes, and a semicircular mouth. The example demonstrates how to compose a figure using D3 v5’s `select` and `arc` APIs, positioning elements through translation and coordinates. The code calculates dimensions from the SVG attributes and places the face’s components relative to the viewport center, showing a simple approach to building custom visualizations with D3’s drawing utilities.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed