D3 practice
✓ Published0🌍 Public
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.
MIT Licensed