Skip to main content
100%

Shapes with SVG

✓ Published0🌍 Public
Rralevine
Last edited Dec 11, 2019
Created on Dec 11, 2019
Forked from Shapes with SVG

This example uses D3 v5 to draw a simple, cheerful face entirely with SVG shapes. It creates a yellow circle for the head, two smaller black circles for eyes, and a semi-circular path for a mouth, all positioned precisely within the SVG canvas. The code directly uses the D3 `select` API to append shapes to the SVG and the `d3.arc` function to generate the mouth's path data. The visualization demonstrates fundamental SVG drawing capabilities with D3.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes