d3.geoWinkel3Raw

d3.geoWinkel3() d3.geoWinkel3Raw The Winkel tripel projection.

arc()

arc(arguments…) Generates an arc for the given arguments. The arguments are arbitrary; they are simply propagated to the arc generator’s accessor functions along with the this object. For example, with the default settings, an object with radii and angles is expected: var arc = d3.arc(); arc({ innerRadius: 0, outerRadius: 100, startAngle: 0, endAngle: Math.PI / 2 }); // "M0,-100A100,100,0,0,1,100,0L0,0Z" If the radii and angles are instead defined as constants, you can generate an a

continuous.domain()

continuous.domain([domain]) If domain is specified, sets the scale’s domain to the specified array of numbers. The array must contain two or more elements. If the elements in the given array are not numbers, they will be coerced to numbers. If domain is not specified, returns a copy of the scale’s current domain. Although continuous scales typically have two values each in their domain and range, specifying more than two values produces a piecewise scale. For example, to create a diverging c

selection.insert()

selection.insert(type, before) If the specified type is a string, inserts a new element of this type (tag name) before the element matching the specified before selector for each selected element. For example, a before selector :first-child will prepend nodes before the first child. Both type and before may instead be specified as functions which are evaluated for each selected element, in order, being passed the current datum (d), the current index (i), and the current group (nodes), with t

queue.awaitAll()

queue.awaitAll(callback) Sets the callback to be invoked when all deferred tasks have finished. The first argument to the callback is the first error that occurred, or null if no error occurred. If an error occurred, there are no additional arguments to the callback. Otherwise, the callback is also passed an array of results as the second argument. For example: d3.queue() .defer(fs.stat, __dirname + "/../Makefile") .defer(fs.stat, __dirname + "/../package.json") .awaitAll(functio

transition.selectAll()

transition.selectAll(selector) For each selected element, selects all descendant elements that match the specified selector string, if any, and returns a transition on the resulting selection. The selector may be specified either as a selector string or a function. If a function, it is evaluated for each selected element, in order, being passed the current datum d and index i, with the this context as the current DOM element. The new transition has the same id, name and timing as this transi

quadtree.visit()

quadtree.visit(callback) Visits each node in the quadtree in pre-order traversal, invoking the specified callback with arguments node, x0, y0, x1, y1 for each node, where node is the node being visited, ⟨x0, y0⟩ are the lower bounds of the node, and ⟨x1, y1⟩ are the upper bounds, and returns the quadtree. (Assuming that positive x is right and positive y is down, as is typically the case in Canvas and SVG, ⟨x0, y0⟩ is the top-left corner and ⟨x1, y1⟩ is the lower-right corner; however, the c

simulation.stop()

simulation.stop() Stops the simulation’s internal timer, if it is running, and returns the simulation. If the timer is already stopped, this method does nothing. This method is useful for running the simulation manually; see simulation.tick.

d3.geoPath()

d3.geoPath([projection[, context]]) Creates a new geographic path generator with the default settings. If projection is specified, sets the current projection. If context is specified, sets the current context.

node.ancestors()

node.ancestors() Returns the array of ancestors nodes, starting with this node, then followed by each parent up to the root.