interval.floor(date) Returns a new date representing the latest interval boundary date before or equal to date. For example, timeDay.floor(date) typically returns 12:00 AM local time on the given date. This method is idempotent: if the specified date is already floored to the current interval, a new date with an identical time is returned. Furthermore, the returned date is the minimum expressible value of the associated interval, such that interval.floor(interval.floor(date) - 1) returns the
d3.geoArmadillo() d3.geoArmadilloRaw(phi0) The armadillo projection. The default center assumes the default parallel of 20° and should be changed if a different parallel is used. Note: requires clipping to the sphere.
d3.geoLaskowski() d3.geoLaskowskiRaw The Laskowski tri-optimal projection simultaneously minimizes distance, angular, and areal distortion.
d3.geoNaturalEarth() d3.geoNaturalEarthRaw The Natural Earth projection.
poly.exponent(e) Returns a new polynomial easing with the specified exponent e. For example, to create equivalents of linear, quad, and cubic: var linear = d3.easePoly.exponent(1), quad = d3.easePoly.exponent(2), cubic = d3.easePoly.exponent(3);
transition.size() Returns the total number of elements in this transition. Equivalent to selection.size.
d3.html(url[, callback]) Creates a request for the HTML file at the specified url with the default mime type text/html. The HTML file is returned as a document fragment. This convenience constructor is approximately equivalent to: d3.request(url) .mimeType("text/html") .response(function(xhr) { return document.createRange().createContextualFragment(xhr.responseText); }) .get(callback); HTML parsing requires a global document and relies on DOM Ranges, which are not supported by JSD
berghaus.lobes([lobes]) If lobes is specified, sets the number of lobes in the resulting star, and returns this projection. If lobes is not specified, returns the current lobe number, which defaults to 5.
d3.randomExponential(lambda) Returns a function for generating random numbers with an exponential distribution with the rate lambda; equivalent to time between events in a Poisson process with a mean of 1 / lambda. For example, exponential(1/40) generates random times between events where, on average, one event occurs every 40 units of time.
d3.geoCylindricalStereographic() d3.geoCylindricalStereographicRaw(phi0) The cylindrical stereographic projection. Depending on the chosen parallel, this projection is also known as Braun’s stereographic (0°) and Gall’s stereographic (45°).
Page 55 of 105