oefening2
This example shows four horizontal bars rendered as SVG rectangles, with their widths proportional to values in a static data array of [20, 40, 50, 60]. The code uses a linear scale (`d3.scale.linear`) to map data values to pixel widths, then appends rectangles via `d3.selectAll("rect").data().enter()`. Each bar is positioned vertically by index, and all bars share a steelblue fill. The visualization duplicates the same bar-drawing block twice, though only the first set of rectangles is visibly rendered.