A Linguistic Introduction to D3 (freecodecamp.org)

d3-array

[github] d3/d3-array

  • Statisticsmin, max, extent, sum, mean, median, quantile, variance, deviation
  • Searchscan, bisect, bisector, quickselect,
  • Transformationsgroup, rollup, merge, pairs, permute, shuffle, ticks, tickStep, range, transpose, zip
  • Histograms
  • Histogram Thresholds

d3-scale

[github] d3/d3-scale

var x = d3.scaleLinear()
  .domain([10, 130])
  .range([0, 960]);

d3-interpolate

[github] d3/d3-interpolate

function interpolator(t) {
  return a * (1 - t) + b * t;
}

d3-random

[github] d3/d3-random

d3.randomUniform([min, ][max])

d3.randomNormal([mu][, sigma])

d3-ease

[github] d3/d3-ease

takes a normalized time t and returns the corresponding “eased” time tʹ. Both the normalized time and the eased time are typically in the range [0,1], where 0 represents the start of the animation and 1 represents the end;

[bl.ocks.org] Easing explorer