Skip to main content
100%

Lets make a face with D3.js!

✓ Published0🌍 Public
JJingDu123
Last edited Oct 14, 2019
Created on Oct 14, 2019
Forked from Cars Scatter Plot

This example draws a simple cartoon face from basic SVG shapes using D3.js v5. The code builds a yellow circle for the face, two black circles for eyes, and a mouth created with the `d3.arc` API, all positioned within an SVG canvas. The face is constructed procedurally using D3 selections to append elements, with SVG attributes controlling size and placement. No external data is used, making it a purely illustrative demonstration of D3's shape generation and coordinate-based rendering.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes