Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Let's make a face with D3.js!

0 stars0🌍 Public
MMathias Luethi
Last edited May 12, 2019
Created on May 12, 2019

A white circle is centered on a crimson background, forming a simple face-like base. The example uses D3.js v5 with SVG rendering, importing `select` and `arc` from the library, though only `select` is applied to append the circle element. The circle’s radius and position are derived from the SVG’s width and height attributes, which are read dynamically. The code sets the background color via inline style and constructs the shape declaratively without data binding or interaction.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed