Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

550d71aceba342adb36406257367ae28

HTML Starter

0 stars0🌍 Public
Eemmaoudmaijer
Last edited Nov 14, 2019
Created on Nov 11, 2019
Forked from HTML Starter

This example presents a static bar chart built with D3.js, displaying a hardcoded array of twelve numeric values. The SVG output renders green bars on a light background, with each bar’s height directly proportional to its data value. The code uses D3’s selection API and `selectAll` with chained `attr` methods to position bars, explicitly setting the SVG dimensions, bar width, and vertical offset. The data is a simple local JavaScript array, not fetched from an external source.

AI-generated description

A bare minimum HTML page.

See also React Starter.