Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Viewing a saved revision (read-only)

b32909726e4e4acc831dda6bb56974c1

Let's make a face with D3.js!

0 stars0🌍 Public
JJulia
Last edited Aug 26, 2020
Created on Aug 26, 2020

This visualization demonstrates an initial step toward building a face using D3.js within an SVG canvas. The example sets the SVG background to red and prepares the structure for adding facial features. Built with React and D3 v5, the code uses `d3.select` to target the SVG element and applies a red background via `svg.style('background-color', 'red')`. The HTML page loads D3 from a CDN and includes basic styling for a full-screen, margin-free display.

AI-generated description

A bare minimum HTML page.

See also React Starter.