satellite.tilt()

satellite.tilt([tilt]) Defaults to 0°.

ribbon.target()

ribbon.target([target]) If target is specified, sets the target accessor to the specified function and returns this ribbon generator. If target is not specified, returns the current target accessor, which defaults to: function target(d) { return d.target; }

rotation.invert()

rotation.invert(point) Returns a new array [longitude, latitude] in degrees representing the point of the given rotated point; the inverse of rotation. The point must be specified as a two-element array [longitude, latitude] in degrees.

rotation()

rotation(point) Returns a new array [longitude, latitude] in degrees representing the rotated point of the given point. The point must be specified as a two-element array [longitude, latitude] in degrees.

satellite.distance()

satellite.distance([distance]) Distance from the center of the sphere to the point of view, as a proportion of the sphere’s radius; defaults to 2.0. The recommended maximum clip angle for a given distance is acos(1 / distance) converted to degrees. If tilt is also applied, then more conservative clipping may be necessary. For exact clipping, the in-development geographic projection pipeline is needed; see the satellite example.

ribbon.startAngle()

ribbon.startAngle([angle]) If angle is specified, sets the start angle accessor to the specified function and returns this ribbon generator. If angle is not specified, returns the current start angle accessor, which defaults to: function startAngle(d) { return d.startAngle; } The angle is specified in radians, with 0 at -y (12 o’clock) and positive angles proceeding clockwise.

ribbon.context()

ribbon.context([context]) If context is specified, sets the context and returns this ribbon generator. If context is not specified, returns the current context, which defaults to null. If the context is not null, then the generated ribbon is rendered to this context as a sequence of path method calls. Otherwise, a path data string representing the generated ribbon is returned. See also d3-path.

ribbon.radius()

ribbon.radius([radius]) If radius is specified, sets the radius accessor to the specified function and returns this ribbon generator. If radius is not specified, returns the current radius accessor, which defaults to: function radius(d) { return d.radius; }

ribbon.endAngle()

ribbon.endAngle([angle]) If angle is specified, sets the end angle accessor to the specified function and returns this ribbon generator. If angle is not specified, returns the current end angle accessor, which defaults to: function endAngle(d) { return d.endAngle; } The angle is specified in radians, with 0 at -y (12 o’clock) and positive angles proceeding clockwise.

ribbon()

ribbon(arguments…) Generates a ribbon for the given arguments. The arguments are arbitrary; they are simply propagated to the ribbon generator’s accessor functions along with the this object. For example, with the default settings, a chord object expected: var ribbon = d3.ribbon(); ribbon({ source: {startAngle: 0.7524114, endAngle: 1.1212972, radius: 240}, target: {startAngle: 1.8617078, endAngle: 1.9842927, radius: 240} }); // "M164.0162810494058,-175.21032946354026A240,240,0,0,1,216.1