🌍 Public
Viewing a saved revision (read-only)
c7466a85f458417fa24f2f572101a4b3
HTML Starter
This example demonstrates a minimal setup for creating a browser-based visualization using D3.js within an HTML page. It renders a simple SVG element that is styled with a red background color using the d3.select API. The page loads D3 version 5 from a CDN and uses a basic script to apply the styling, showcasing the fundamental structure needed to begin building interactive data graphics. The code defines an SVG canvas with fixed dimensions but does not yet include any data-driven marks or transformations.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.