Skip to main content
100%

Let's make a face with D3.js

✓ Published0🌍 Public
HHamidur Rahman
Last edited May 16, 2020
Created on May 16, 2020
Forked from Hello VizHub

This example demonstrates how to construct an expressive cartoon face entirely from SVG shapes using D3.js v5. It showcases the foundational drawing capabilities of the D3 API by defining circle elements for features like the eyes and nose, alongside path elements for the mouth and eyebrows, while the provided stylesheet and an empty SVG canvas set the stage. The code relies on D3's selection and attribute manipulation methods to position these primitives, and the rendered output is visible in an embedded video that illustrates the underlying construction process.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes