Skip to main content
100%

New Start towards js by making a face

✓ Published1🌍 Public
Aachintyatripathi
Last edited Oct 1, 2020
Created on Sep 30, 2020
Forked from HTML Starter

This example shows a simple face built from two SVG circles using D3.js version 6. The first circle is centered in an 960x500 SVG and has a radius of 20. A second, chained circle is positioned using the height and width attributes, styled with a yellow fill and black stroke. The code demonstrates basic D3 selection and attribute chaining with `svg.append('circle')` and `.attr()`, while converting SVG attributes to numbers using the unary plus operator. A highlighted text banner below the title indicates a new beginning with D3.js.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes