HTML Starter
✓ Published0🌍 Public
This example demonstrates the simplest possible D3 visualization: a solid red SVG square with the text "Hello HTML" displayed beside it. The code creates a bare-bones HTML page that loads D3 v5 from a CDN and uses the `d3.select` API to set the SVG’s background color and dimensions. The visualization renders via an inline SVG element, with the page styled using CSS for large centered text. It serves as a minimal template for getting started with D3 in a plain HTML context.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed