Skip to main content
100%

Let's make a face with D3

✓ Published0🌍 Public
MMorris Hsu
Last edited Mar 29, 2020
Created on Mar 29, 2020

This example shows how to construct a simple cartoon face using SVG shapes and D3’s selection methods. The face is drawn from scratch with circles and paths, all styled via CSS classes. The code creates an SVG container and relies on D3 v5 to append and position elements, while the stylesheet defines thick, rounded strokes for facial features. No data is loaded; the visualization purely demonstrates basic SVG drawing with D3’s core API.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes