Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Viewing a saved revision (read-only)

f9a22a4d3b104a85b3fdce4d3de0c4fa

Let's make a face with D3.js!

0 stars0🌍 Public
Mmisferswift
Last edited Mar 20, 2020
Created on Mar 20, 2020
Forked from HTML Starter

A single yellow circle with a black outline is drawn at the center of an SVG, forming a simple face. The circle’s radius is set to half the SVG height, with its center positioned using the width and height attributes. Using D3.js v5, the `select` method targets the SVG, and `append` creates the circle, setting its fill and stroke. The example demonstrates basic SVG shape creation and attribute manipulation with D3’s declarative chaining.

AI-generated description