Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3

Public visualization

Let's make a face with D3

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed