factor out graph margins & size, dataPane

clip scatterplots to dataPane
factor out shared axis-drawing code
refactor to separate init & redraw