Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
11995ana
Last edited Apr 1, 2020
Created on Mar 30, 2020

This example uses D3.js v5 to draw a stylized face composed of thick, round-ended lines, rendered as SVG paths. The face is constructed from simple geometric shapes, with the `stroke-linejoin` and `stroke-linecap` properties giving the lines their smooth, playful appearance. The code defines a static layout within an SVG canvas, using D3’s selection and attribute methods to set path data and styling. No data source is loaded; instead, the visualization is entirely hand-coded, focusing on the aesthetic potential of SVG stroke properties.

AI-generated description
MIT Licensed

Similar vizzes