D3 scales

with a bare-bones custom d3 build