🌍 Public
Viewing a saved revision (read-only)
005b62aec3ce4de381a940c60a7ce12d
Let's make a face with D3.js!
A red SVG canvas is styled using D3.js, with the code selecting the `svg` element and applying a background color via `d3.select` and `style`. The example demonstrates a minimal setup where D3 v6 manipulates SVG properties in a React-free HTML document, using a simple script tag to load the library and a dedicated CSS file for page layout.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.