Skip to main content
100%

D3.JS Face

✓ Published0🌍 Public
LLomakin Artem
Last edited Mar 24, 2020
Created on Mar 24, 2020
Forked from Making a bar chart

A stylized face drawn entirely with D3.js v5 SVG primitives appears centered on a yellow circular head with black outline. The code constructs eyes as simple circles and creates a smile using D3’s `arc()` generator, with the arc’s start and end angles producing a mouth shape. The example demonstrates basic selection and attribute manipulation via `select` and `attr`, along with a fixed 960×500 viewport. React is listed as the framework, though the visible `index.js` relies purely on D3’s imperative SVG API without React components.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes