Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
TTrustPaul
Last edited Dec 7, 2020
Created on Dec 7, 2020
Forked from HTML Starter

This example renders a set of rectangular bars using D3 v6, with each bar’s height mapped from a hardcoded numeric array. The SVG canvas is set to 500 by 500 pixels, and the D3 selection’s `.data()` and `.enter()` methods create rectangles positioned along the x-axis at 0, with y-coordinates calculated as the height subtracted from a fixed value. The page also demonstrates basic HTML/CSS structure and logs a message to the browser console, illustrating a minimal setup for data-driven graphics in a React-free environment.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes