How can I detect the intersection of lines on a D3 geo globe?
问题 I've been playing around with several d3 globes: Rotating globe Rotating orthographic Morphing map projections And I've put this together: Great circle graph My goal is to show that this graph can be 3 colored. The problem I'm having is that the method of drawing lines involves using the orthographic projection of "LineString" paths. In the globe I linked above, my "great circles" are coded in this way: // poles svg.append("path") .datum({type: "LineString", coordinates: [[0, -180], [0, -90],