project()

project(lambda, phi) Projects the specified point [lambda, phi] in radians, returning a new point [x, y] in unitless coordinates.

d3.curveLinear()

d3.curveLinear(context) Produces a polyline through the specified points.

map.remove()

map.remove(key) If the map has an entry for the specified key string, removes the entry and returns true. Otherwise, this method does nothing and returns false.

simulation.velocityDecay()

simulation.velocityDecay([decay]) If decay is specified, sets the velocity decay factor to the specified number in the range [0,1] and returns this simulation. If decay is not specified, returns the current velocity decay factor, which defaults to 0.4. The decay factor is akin to atmospheric friction; after the application of any forces during a tick, each node’s velocity is multiplied by 1 - decay. As with lowering the alpha decay rate, less velocity decay may converge on a better solution,

json2dsv

json2dsv [options…] [file] Converts the specified JSON input file to DSV. If file is not specified, defaults to reading from stdin. For example, to convert to JSON to CSV: json2csv < example.json > example.csv Or to convert a newline-delimited JSON stream to CSV: json2csv -n < example.ndjson > example.csv

transition.remove()

transition.remove() For each selected element, removes the element when the transition ends, as long as the element has no other active or pending transitions. If the element has other active or pending transitions, does nothing.

selection.html()

selection.html([value]) If a value is specified, sets the inner HTML to the specified value on all selected elements, replacing any existing child elements. If the value is a constant, then all elements are given the same inner HTML; otherwise, if the value is a function, then the function is evaluated for each selected element, in order, being passed the current datum (d), the current index (i), and the current group (nodes), with this as the current DOM element. The function’s return value

path.arcTo()

path.arcTo(x1, y1, x2, y2, radius) Draws a circular arc segment with the specified radius that starts tangent to the line between the current point and the specified point ⟨x1, y1⟩ and ends tangent to the line between the specified points ⟨x1, y1⟩ and ⟨x2, y2⟩. If the first tangent point is not equal to the current point, a straight line is drawn between the current point and the first tangent point. Equivalent to context.arcTo and uses SVG’s elliptical arc curve commands.

selection.property()

selection.property(name[, value]) Some HTML elements have special properties that are not addressable using attributes or styles, such as a form field’s text value and a checkbox’s checked boolean. Use this method to get or set these properties. If a value is specified, sets the property with the specified name to the specified value on selected elements. If the value is a constant, then all elements are given the same property value; otherwise, if the value is a function, then the function

d3.csvParse()

d3.csvParse(string[, row]) Equivalent to dsvFormat(",").parse.