- 24 Mar, 2014 3 commits
-
-
Mike Bostock authored
Objects that are coercible to numbers, such as Dates, are often more usefully interpolated as numbers rather than as objects.
-
Mike Bostock authored
For backwards-compatibility, bisector checks the arity of the specified function, and if the function only takes a single argument, it is wrapped with a suitable comparator.
-
Mike Bostock authored
Fixes #1766. Unlike d3.bisector(accessor), this allows you to define a bisector that works in reverse order. An awkward aspect of implementing bisection on top of a comparator is that it is often the case that the sorted array contains objects (e.g., rows from a TSV), while the search value is a primitive value (e.g., a number). Thus, you want to apply an accessor to the array elements but not to the search value. The solution here is to invoke the comparator deterministically: the first argument is always an element from the array, and the second argument is always the search value. This lets a comparator apply an accessor to array elements but not to search values.
-
- 23 Mar, 2014 1 commit
-
-
Mike Bostock authored
Add ca-ES for localization
-
- 22 Mar, 2014 2 commits
-
-
Mike Bostock authored
Fix quadtree tests that check the children of a node
-
Jim Kang authored
Updated quadtree tests to check the `nodes` property of the node (a d3_geom_quadtreeNode) instead of treating the node as an array (which it is not) and trying to check indexes within it. e.g. `node[2]`.
-
- 21 Mar, 2014 1 commit
-
-
Roger Bramon authored
-
- 20 Mar, 2014 2 commits
-
-
Jason Davies authored
-
Jason Davies authored
Also, expose the optional zh_CN locale as d3.locale.zh_CN.
-
- 17 Mar, 2014 2 commits
-
-
Mike Bostock authored
Add pt-BR for localization.
-
Fabricio Tavares de Oliveira authored
Taken into account multiple locales support, and not custom build.
-
- 13 Mar, 2014 2 commits
-
-
Mike Bostock authored
Add zh-CN for localization
-
Alexander WU authored
-
- 09 Mar, 2014 1 commit
-
-
Mike Bostock authored
-
- 27 Feb, 2014 1 commit
-
-
Mike Bostock authored
-
- 26 Feb, 2014 1 commit
-
-
Jason Davies authored
Chrome 33 included some sin/cos optimisations, which unfortunately broke our assumption that sin(-x) + sin(x) = 0 for all x. More details here: https://code.google.com/p/v8/issues/detail?id=3006 This fix uses: sin(x) = sgn(x) * sin(abs(x)) and: cos(x) = cos(abs(x)) where it matters, which fixes area calculations for degenerate polygons such as: {"type":"Polygon", "coordinates":[[[-0.0002,0.0001],[0.0002,0.0001],[-0.0002,0.0001]]]} Fixes #1753.
-
- 18 Feb, 2014 4 commits
-
-
Mike Bostock authored
-
Mike Bostock authored
-
Mike Bostock authored
-
Mike Bostock authored
update copyright year
-
- 11 Feb, 2014 2 commits
-
-
jbblanchet authored
-
jbblanchet authored
Corrects bug where currency suffix was overwritten by SI-prefix formatting.
-
- 03 Feb, 2014 1 commit
-
-
PatrickJS authored
-
- 21 Jan, 2014 1 commit
-
-
Mike Bostock authored
add _site
-
- 20 Jan, 2014 1 commit
-
-
Jesus Magana authored
-
- 16 Jan, 2014 1 commit
-
-
Mike Bostock authored
adds composer.json closes #1674
-
- 15 Jan, 2014 2 commits
-
-
Mike Bostock authored
-
kmindi authored
-
- 14 Jan, 2014 2 commits
- 13 Jan, 2014 1 commit
-
-
Mike Bostock authored
Introduced by bfce5d5d (<= vs <).
-
- 10 Jan, 2014 3 commits
-
-
Jason Davies authored
-
Mike Bostock authored
-
Mike Bostock authored
-
- 09 Jan, 2014 6 commits
-
-
Mike Bostock authored
-
Mike Bostock authored
-
Mike Bostock authored
-
Mike Bostock authored
The tests are run in a sandboxed environment, and so didn’t have access to the same global Math whose random was being overridden.
-
Mike Bostock authored
-
Mike Bostock authored
-