Skip to main content
100%

test1

✓ Published0🌍 Public
RRobinL
Last edited May 17, 2016
Created on May 17, 2016

This example displays a simple bar chart of four data values (30, 50, 70, 90) rendered as SVG rectangles. It uses the D3.js library to select the SVG canvas, bind the data array, and append `rect` elements whose `x`, `y`, `width`, and `height` attributes are all set to the corresponding data value. The result is a series of squares originating from the top-left corner, sized proportionally to each number.

AI-generated description

Similar vizzes