fixes #57, scaling using d3.scale in show()