Skip to main content
100%

Let's make a face with D3.js!

✓ Published2🌍 Public
TTravy Trav
Last edited Feb 11, 2020
Created on Feb 11, 2020
Forked from HTML Starter

This example visualizes a simple face made entirely of SVG shapes, drawn on a red background using D3.js. The code selects the SVG element with `d3.select` and applies a red background style, while CSS classes define green lines and rounded path strokes. It demonstrates basic D3 v5 setup within a React framework, using an empty SVG canvas sized 960 by 500 pixels. The visualization shows how minimal D3 code can structure and style vector graphics, with the face’s details left to be added by the user.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes