Create 2d graph