🌍 Public
Viewing a saved revision (read-only)
02520da1e79e496c97e1ced7a063291a
test svg basic
This example shows a basic bar chart built with D3.js, displaying three data values (5, 10, and 12) as orange rectangles with white numeric labels. The visualization uses the D3 selection and data join pattern, appending SVG groups that are translated vertically for each bar. Rectangles are sized using a scale factor of 60 pixels per unit, while text elements position labels at the end of each bar. The code loads D3 v6 and demonstrates fundamental SVG rendering with `d3.select` and `d3.append`.
AI-generated descriptionprogram that follows your mouse with a circle.