Skip to main content
100%

Make a face

✓ Published0🌍 Public
DDimiter Zlatkov
Last edited Jul 10, 2021
Created on Jul 10, 2021
Forked from HTML Starter

A single SVG circle renders as a simple face on a 960×500 canvas, centered both horizontally and vertically with a radius set to one-third of the viewport height. The example uses d3.select to append the circle to the pre-existing SVG element and d3.attr to set its position and size properties. It demonstrates the minimal setup of an SVG-based D3 visualization within an HTML page, relying on the loaded d3 v5 library for element selection and attribute manipulation.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes