You need just one. Just place some black holes at the appropriate positions. They will warp spacetime, so from an outside reference frame, the line will have curves, but from the reference frame of the line itself, it will be completely straight. Alternatively, if you mean ‘on a world map’ just angle the line ever so slightly, and when it loops around it will intersect every state, and depending on the angle, even every point on the map.