🌍 Public
Viewing a saved revision (read-only)
3be9ea7951c741ab8c13079921538d11
HTML Starter
This example demonstrates the simplest possible D3.js visualization: a full-width SVG element with a red background. The code uses `d3.select` to target the SVG and applies the background color via the `style` method. It serves as a minimal starting point for HTML-based D3 projects, where the D3 library is loaded from a CDN and JavaScript runs from a bundled file. The visualization shows an empty, colored canvas with no data or interactive elements.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.