🌍 Public
Viewing a saved revision (read-only)
b34f6f12a5e94697a5ec8cca94e19c60
Lets make a face with D3.js
A simple SVG face is drawn using D3.js v5 within a React framework. The visualization centers a single circle on a 960 by 500 canvas, positioning its radius and coordinates relative to the window dimensions. The code selects the SVG element and appends the circle, setting its attributes with the `attr` method. This demonstrates basic D3 selection and shape creation without additional data, focusing on core API usage.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.