Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Face D3.js

Public visualization

Viewing a saved revision (read-only)

bf1a0d1c718c4e4cbdf4fca549dc523d

Face D3.js

0 stars1🌍 Public
Iimoutidi
Last edited Sep 25, 2019
Created on Sep 25, 2019
Forked from Face D3.js

This example renders a simple face using SVG circles. A large yellow circle forms the head, with a smaller black circle serving as the left eye, positioned at the center of the canvas. The code uses D3.js version 5's selection and append methods to create and style the shapes, reading the SVG’s width and height attributes to center elements. The styling is supplemented by an external CSS file that defines stroke and color properties for the shapes.

AI-generated description