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
33ology
Last edited Oct 5, 2020
Created on Oct 5, 2020

A yellow circle with a black outline represents a face, centered within an SVG canvas. The example demonstrates a minimal D3.js setup, using `d3.select` to target the SVG element and `d3.arc` implicitly through circle attributes, although the face itself is drawn with a simple `append('circle')` call. The circle’s radius is derived from the SVG’s height, and its position is calculated from the width and height attributes. The code imports `select` and `arc` from D3 v6, with styling applied via an external stylesheet that removes page margins.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed