divthat will be modified by d3 later on.
svgarea. It specify the chart size and its margin. Read more.
d3.stack()function is used to stack the data: it computes the new position of each group on the Y axis
d3.stack()can be used to create a set of
rectas for a normal barplot.