Skip to main content
100%

Untitled

✓ Published0🌍 Public
CCrystal Lee
Last edited Jul 19, 2022
Created on Jul 19, 2022
Forked from HTML Starter

This example shows an empty page where a dataset of five numbers is intended to be rendered as horizontal bars, though no visual output is produced because the code never appends elements. It uses D3 v6’s selection methods (`d3.select`, `selectAll`, `data`, `enter`) and sets a class and height style on the entering selection. The bar heights are computed by multiplying each data value by 5 and appending `px`. The code references a CSS class `bar` but defines no styles for it.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes