1. 19 May, 2014 6 commits
2. 18 May, 2014 5 commits
3. 17 May, 2014 1 commit
• Don’t store temporary variables on tree nodes. · 082c9593
Mike Bostock authored
```Rather than creating a temporary _tree hash on the tree nodes to store temporary
variables needed to compute the tree layout, the tree is wrapped. This
eliminates the risk of a namespace collision, and eliminates the need to
subsequently delete temporary variables. (They will be garbage collected.)```
4. 13 May, 2014 1 commit
5. 22 Apr, 2014 1 commit
6. 13 Apr, 2014 4 commits
7. 11 Apr, 2014 1 commit
• Optimise d3.mean. · c0e84e2c
Jason Davies authored
```Originally we were using Welford’s algorithm, but this is primarily
useful when computing the variance in a numerically stable manner, since
Welford’s approach requires an incremental mean.

I’ve removed a test for the mean of more than one instance of
Number.MAX_VALUE as this is unlikely to occur in practice; most likely
this was the reason I used Welford’s algorithm in the first place.

There’s a paper [1] comparing various algorithms for computing the mean,
and Welford’s is actually slightly less accurate than the naïve
approach.  There are some more accurate approaches but I think it’s
overkill for d3.mean.

[1] Youngs, Edward A., and Elliot M. Cramer. "Some results relevant to
choice of sum and sum-of-product algorithms." Technometrics 13.3 (1971):
657-665.

Related: #1842.```
8. 10 Apr, 2014 2 commits
9. 08 Apr, 2014 3 commits
10. 06 Apr, 2014 4 commits
11. 04 Apr, 2014 1 commit
12. 24 Mar, 2014 11 commits
• Merge branch '3.4.4' · fa55eead
Mike Bostock authored
• Test for interpolate to null. · 994235b3
Mike Bostock authored
```I’m not entirely sure this is the most useful behavior, but since typeof null is
"object" and +null is 0, interpolating to null is equivalent to interpolating to
the number zero.```
• Save a few bytes. · d3bbf394
Mike Bostock authored
• Preserve tick ordering when updating axis. · abbe1c75
Mike Bostock authored
`Fixes #1748.`
• Getter support for transition.{delay,duration}. · b86e4e4a
Mike Bostock authored
`Fixes #1773.`
• Default to suitable precision. · 28538c40
Mike Bostock authored
`The point of this method is to pick the right precision for you!`
• More standard precision interpretation. · fe797df4
Mike Bostock authored
```Rather than overload the meaning of precision to bias the selection of the SI
prefix, always use the standard SI prefix, and use the precision in the same
sense as with fixed digits: the number of digits after the decimal point.```
• Consistent SI-prefix for small numbers. · 621558c2
Mike Bostock authored
```For reasons that I can’t recall, the SI-prefix behavior was different for small
numbers (between -1 and 1) than it was for large numbers. This commit enforces
consistent behavior, so that the coefficient is always in the range [1, 1000),
like in engineering notation.

For example, the old d3.format("s") would display 0.01 as "0.01", whereas the
new behavior displays it as "10m".```
• Consistent SI-prefix for ticks. Fixes #1746. · 91531cf7
Mike Bostock authored
```When a SI-prefix format (type "s") is passed to scale.tickFormat, compute a
suitable SI-prefix based on the maximum value in the range, and then use that
prefix for all ticks rather than computing the SI-prefix on a per-tick basis.```
• Fix ordinal scales with singleton domains. · d6ca25e8
Mike Bostock authored
`Fixes #1717. Turns out, -1 % 1 is 0!`
• Listen to the touch target. · f9e00b1d
Mike Bostock authored
```This ensures that if the touch target is removed from the DOM during a zoom
gesture, the zoom behavior continues to receive events; touch events, unlike
other events, are always dispatched to the target of the touchstart event rather than the window.```