🌍 Public
Viewing a saved revision (read-only)
c0f1895b4589414bb2d036bec5a1e94d
D3 practice
A single row of six vertical bars displays categorical values from a fixed array. The bar heights correspond to the numeric data, and each bar is positioned with a uniform width and small spacing between bars. The visualization is built with D3 v5’s selection and `.data()` methods, appending SVG `rect` elements to an `<svg>` element in a React-free HTML page. The chart’s dimensions and bar positions are explicitly set, while the CSS removes page scrolling by positioning the body absolutely.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.