Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes and Colors with SVG and CSS

Public visualization

Shapes and Colors with SVG and CSS

0 stars0🌍 Public
Hhappybubblefish
Last edited Jul 12, 2019
Created on Jul 11, 2019

A yellow circle with a black outline forms a smiling face, featuring two small black-rimmed eyes and an arc-shaped mouth. Built with D3 v5, the example uses SVG elements and CSS styling to create the shape. The code applies d3.arc to generate the mouth path, while circle attributes position the face and eyes on a 960x500 SVG canvas.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed