Skip to main content
100%

Let's make a face with D3.js

✓ Published5🌍 Public
JJake
Last edited Jul 1, 2020
Created on Jun 19, 2020
Forked from Hello VizHub

This example demonstrates how to construct a simple cartoon face using D3.js v5 within a React project. The code selects an SVG element and reads its dimensions via the `attr` method to set up the drawing space. It uses D3’s selection and attribute APIs to position basic shapes, though the face itself is not fully implemented in the provided snippet. The page is rendered through an HTML shell that loads the D3 library from a CDN and references a bundled JavaScript file.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes