var svg = d3.select("body").append("svg");
svg
.attr("width", w + m[1] + m[3])
.attr("height", h + m[0] + m[2])
.append("g")
.attr("transform", "translate(" + m[3] + "," + m[0] + ")")
;
... look familiar?
by leveraging...
make an svg line using d3
(click me!)
make an svg rectangle using d3
make a bar chart using d for height
use .enter() to add additional rects
use .transition() to animate the rects with new data
use .delay() to animate the rects with new data
click the links below to group up and make sense out of all these data
make an income bar chart