Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
PPaweł Wacławiak
Last edited Jun 2, 2020
Created on Jun 2, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes