d3_heatmap: allow configurable margins