{
const width = 500
const height = 250
const svg = d3.select(DOM.svg(width, height))
const ArrayofData = [50,90, 120,250,200,150,100,50,10,40,80,60,40,70,50,90, 120,60,40,70,50,60,40,70]
svg.selectAll('rect')
.data(ArrayofData)
.enter()
.append('rect')
.attr('x', (d, itemsIndexInArray) => itemsIndexInArray * 20)
.attr('y', d => height - d)
.attr('width', 15)
.attr('height', arrayItemTypicallyNamed_d => arrayItemTypicallyNamed_d)
.attr('fill', 'purple')
return svg.node()
}