Improve graph; allow it to be opened in new window

Put all graph styles inside the svg (nothing in css), so that it can be
opened/saved on its own.

Add inputs to customize parameters for title, width, and upper bound.