🌍 Public
Viewing a saved revision (read-only)
199c9690fb6c49d0bcdc4850a2fae289
Title
A simple horizontal bar chart visualizes five numeric values using SVG rectangles. D3.js v3 scales the bar widths linearly from the data’s maximum value to a fixed pixel width. Each bar displays its corresponding number as white text at the rectangle’s end. The chart is built by binding the data array to groups, appending rect and text elements, and setting their positions with transform attributes.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.