Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Jjcintolo
Last edited Jul 16, 2020
Created on Jul 16, 2020
Forked from HTML Starter

This example creates a simple cartoon face out of SVG shapes. Three circles—two small ones for eyes and a larger one for the face—are drawn on a grey background. The face is rendered using D3.js version 5’s selection and styling methods, with the `d3.select` API applying a background color to the SVG element. The code relies on standard SVG circle elements with fill and stroke attributes to construct the visual.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes