d3.select('#chart')
.append('svg')
.attr('width', 600)
.attr('height', 400)
.style('background', '#cccccc')
.append('rect')
.attr('x', 200)
.attr('y', 100)
.attr('width', 200)
.attr('height', 200)
.style('background', '#ff0000')