Aesthetic fixes:

 o Let margin of scene rect be relative to graph size.
 o Center view on mean coordinate and fit entire scene.