Skip to main content
100%

test svg basic

✓ Published1🌍 Public
Ssgzzhinde
Last edited Dec 21, 2020
Created on Dec 21, 2020
Forked from 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 description

program that follows your mouse with a circle.

MIT Licensed

Similar vizzes