Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

eae070f90b22414fa5c17c4c03fa8595

Untitled

0 stars0🌍 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.