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)

c81af7589c024b46b5599426a3b87281

Let's make a face with D3.js!

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

This example uses D3.js v5 to draw a simple face on an SVG canvas. The code selects an SVG element via `d3.select` and reads its width and height attributes, then appends a single circle with a radius of 200 pixels, centered at the midpoint of the viewport. The visualization demonstrates basic SVG shape generation and attribute manipulation using D3’s `attr` method, with the circle representing the face’s outline. No facial features are added beyond the circle, and the rendering relies on the SVG primitive directly.

AI-generated description

A bare minimum HTML page.

See also React Starter.