inital commit of bubble plot code. Needs generalizing.