Forget to add - implemented dynamic scaling based on range

* Could be better implemented using d3.scaling