Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
TTheophile11
Last edited Sep 2, 2021
Created on Sep 2, 2021
Forked from HTML Starter

A single gray circle is rendered on an SVG canvas, positioned horizontally based on a fixed data value of 100 within a larger array of numbers. The example demonstrates the minimal setup for binding an array to SVG elements using D3 v5’s `selectAll` and `data` pattern, followed by `enter` and `append` to create the circle. The circle’s `cx` attribute is set via an accessor function that returns the data value, while its `cy` and `r` are constants. The page uses a plain HTML structure with an inline script loading D3 from a CDN, illustrating a bare-bones reactive data join without scales or axes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes