Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Ggitmethis
Last edited Mar 22, 2020
Created on Mar 22, 2020
Forked from HTML Starter

A bar chart displays fixed-width rectangles for the values 1, 3, and 4, plotted against a linear scale whose domain is computed with `d3.max` and whose range is 0–300 pixels. The bars are drawn as SVG `rect` elements with a constant fill of red, positioned horizontally at 120-pixel intervals from the left edge. The chart is generated using D3 v5 within a minimal HTML page, with the Y-axis rendered via `d3.axisLeft` and appended as a `g` element. The underlying data is hard-coded as a JavaScript array and object literal.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes