Skip to main content
100%

Let's make a face

✓ Published0🌍 Public
FFloridaPlates
Last edited Oct 11, 2019
Created on Oct 11, 2019
Forked from Hello VizHub

A yellow circle face with black-outlined eyes, rectangular eyebrows, and an arc-shaped mouth is drawn using D3 v5 selections and SVG primitives. The visualization centers the face within an SVG canvas using a translated group, positioning features relative to shared constants for spacing and offsets. The mouth is generated with the `d3.arc` path generator, configured with inner and outer radii and explicit start and end angles. All shapes are appended directly to the SVG via D3's `select` and `append` methods, with no external data source beyond the hardcoded dimensions.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes