Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face

Public visualization

Viewing a saved revision (read-only)

cd83f0373be44f029f367412ee000c9b

Let's make a face

0 stars0🌍 Public
Aalshami52
Last edited Sep 5, 2019
Created on Sep 4, 2019

A playful SVG face is constructed by layering simple geometric shapes—a red background, a circular face, and facial features—within a single web page. The example demonstrates basic SVG composition and styling, with the background color set to red using a D3 selection. The code uses `d3.select` to grab the SVG element and applies inline CSS via `svg.style`. The page imports D3 v5 from a CDN and sets the SVG dimensions to 960 by 500 pixels, requiring no external data source.

AI-generated description

An example including some commonly used features of SVG.