Changing the way that width and height work to perform more like they do with jQuery where height includes just the inner content excluding, padding borders and margins. Consequently, this will let us know that chart.height() covers the entire chart area. If you would like to get the height plus the margin then you can simply call chart.outerHeight(true);
change the way outerHeight and outerWidth work so that now you can specify the width and height of the svg element, but margins will be subtracted from it before the height or width are set on the internal object. This means that you
can still set a pixel perfect outer dimension for the chart like this:

d4.charts.column().outerWidth(500);
update the examples to use the outerHeight and outerWidth functions instead.