Graphics Charting Libraries
<!DOCTYPE html> <html> <head> </head> <body> <script> const data = [12, 19, 8, 15, 22]; d3.select('svg') .selectAll('rect') .data(data) .enter() .append('rect') .attr('x', (d, i) => i * 40) .attr('y', (d) => 200 - d * 5) .attr('width', 30) .attr('height', (d) => d * 5) .attr('fill', 'steelblue'); </script> </body> </html>