https://github.com/d3/d3

sort by:
Revision Author Date Message Commit Date
1dfcda4 Better nicing for pow scales. 12 June 2011, 01:11:15 UTC
9bf5583 Minor tweak. 12 June 2011, 00:15:35 UTC
54031e1 Add superformula explorer. 11 June 2011, 23:59:42 UTC
acdc727 Relocate superformula dot example. 11 June 2011, 20:00:28 UTC
4964bb6 Merge branch 'superformula' 11 June 2011, 19:57:35 UTC
920d980 Move d3.svg.superformula into an example. This way, people can play with superformulas if they want them, but we keep the core library small. If we want to replace the default symbol implementation with superformulas in the future, we can do that too. For now, be conservative. 11 June 2011, 19:54:44 UTC
852ac94 Merge branch 'master' into superformula 11 June 2011, 19:49:22 UTC
7dc7fe4 Merge branch 'release' 11 June 2011, 19:40:43 UTC
3f6e2e2 Remove trailing whitespace. 11 June 2011, 19:38:50 UTC
afbeb4c Merge branch 'interpolators' into release 11 June 2011, 19:37:23 UTC
093089f Add test for registering custom interpolator. 11 June 2011, 19:36:51 UTC
40ba791 Add d3.interpolators registry. This is useful when other modules want to register interpolators for d3.interpolate without adding an explicit dependency to d3.core. The interpolators are applied in reverse order, and the first one that returns a function is used. (This commit was authored by @jasondavies and cherry picked.) 11 June 2011, 19:32:41 UTC
54ac5e6 Merge branch 'nice' into release 11 June 2011, 19:20:57 UTC
a9b5476 Merge branch 'optional-tweening' into release 11 June 2011, 19:20:34 UTC
0607c58 Reduce code duplication. I'm not totally sure about the nicing behavior for pow scales; we might want it to behave more like nicing for log scales. But this works for now! 11 June 2011, 19:17:47 UTC
d756caa Simplify subclassing of hierarchy layout. The subclasses can't use the same object as the parent class, because they are functions. But, there's no reason to duplicate the code that rebinds the methods onto the subclass. 11 June 2011, 18:31:42 UTC
de35e0d Tweens are now optional. If the tween function returns null, then no tween will be applied for the specified element. The default tween function now returns null if the start and end value are the same, thus avoiding redundant interpolation. 11 June 2011, 18:12:51 UTC
69324a4 Slightly more compact tests for nice scales. The longer domains mess up the aligment but I'm sure Mike will figure something out! 07 June 2011, 16:46:25 UTC
aeb1212 Add semicolons. 07 June 2011, 16:32:55 UTC
dc792de Support for nice polylinear log scales. 07 June 2011, 08:45:56 UTC
943e2d5 Fix nice pow scale. We can't just rebind the internal linear scale's nice function because the linear scale's domain is the exponentiated pow domain, so the actual pow domain would most likely be fractional as the linear scale will round to the nearest integer exponentiation. 07 June 2011, 08:31:23 UTC
ea8e878 Support for "nice" polylinear scales. 07 June 2011, 07:44:02 UTC
8be7192 Merge remote-tracking branch 'biovisualize/master' into superformula 07 June 2011, 05:51:16 UTC
96837e4 Add title. 07 June 2011, 05:50:10 UTC
bfa1a6e Add d3.svg.superformula. 07 June 2011, 05:38:08 UTC
b0d8d43 added more shapes 07 June 2011, 04:59:18 UTC
06b0b25 Added shape tween 07 June 2011, 02:55:18 UTC
8421fca Fix "nice" log scales. Turns out we just needed to test for reversed domains. Fixes #176. 06 June 2011, 23:38:41 UTC
e1daa47 Add d3.scale.log().nice(). Based on the Protovis implementation. Includes tests. I'm not sure [10.9, 1.1] should be "niced" to [10, 10] but this is also the behaviour in Protovis at the moment. 06 June 2011, 23:29:45 UTC
4a8ba2a Update unit tests. Forgot to update the .out file in the previous commit. Also added a check for domain [0, .49]. 06 June 2011, 22:40:04 UTC
cdf5f2f Add d3.scale.linear().nice(). Based on the Protovis implementation. "Nices" the scale, extending the bounds of the input domain to evenly-rounded values. 06 June 2011, 22:34:16 UTC
953bebb Add zoomable icicle & sunburst. 03 June 2011, 06:25:28 UTC
d68551b Add Marimekko chart example. 02 June 2011, 19:17:41 UTC
2e560f6 Fix d3.min and d3.max, again. Unlike Math.min and Math.max, it doesn't make sense to return negative or positive infinity for d3.min and d3.max; the D3 functions return the minimum value according to an arbitrary ordering, not by numeric value. Instead, the minimum or maximum of an empty array, or an array that contains only degenerate values, should always be undefined. 30 May 2011, 20:43:18 UTC
204e00e Merge branch 'azimuthal' 30 May 2011, 16:31:19 UTC
a1cc8cb Merge branch 'master' into azimuthal 30 May 2011, 16:29:34 UTC
15d7569 Merge branch 'release' 30 May 2011, 16:26:23 UTC
f73cd15 Merge branch 'mousewheel' into release 30 May 2011, 16:23:45 UTC
c7c2af6 Merge branch 'minmax' into release 30 May 2011, 16:23:39 UTC
6c5a1a3 Rewrite mousewheel hack using D3. Also, make sure that the div is positioned absolutely off-screen. 30 May 2011, 16:22:28 UTC
d8c8b5d Ignore null and undefined in d3.{min,max}. Fixes #161. 30 May 2011, 16:10:13 UTC
a59683e Better mousewheel precision. Copy Mike's new mousewheel hack from Polymaps. Fixes #156. 30 May 2011, 09:09:53 UTC
25e77c4 d3.min & d3.max: ignore NaN at [0]. Note: this now returns Infinity and -Infinity for zero-element arrays, whereas previously an error would have occurred. Fixes #161. 30 May 2011, 08:45:27 UTC
7e08dc1 d3.min & d3.max: pass index and array to accessor. Fixes #162. 30 May 2011, 08:38:17 UTC
e2fc8bf Merge branch 'master' into azimuthal 29 May 2011, 05:57:18 UTC
b9eff65 Stereographic & orthographic projections! These now have arbitrary origins, as well. Still need to clip, though. 28 May 2011, 07:13:53 UTC
a08625d Merge branch 'treemap' into release 28 May 2011, 05:26:29 UTC
92a0ea1 Modify target aspect ratio implementation. 27 May 2011, 22:48:54 UTC
0eb59e7 Merge branch 'horizon' into release 27 May 2011, 21:58:06 UTC
8f54652 Merge branch 'zip' into release 27 May 2011, 21:54:56 UTC
16c40a1 Merge remote-tracking branch 'jasondavies/new-parens' into release 27 May 2011, 21:54:15 UTC
909b165 Gratuitious micro-optimizations. 27 May 2011, 21:46:59 UTC
1baf57b Fix bugs in d3.zip. * The returned array should be truncated to the length of the shortest argument. * With no arguments it should return an empty array. I've updated the unit tests to be more verbose to detect the array of single-element arrays returned for a single argument. 27 May 2011, 19:50:27 UTC
2403293 Add d3.zip. Analagous to Python's built-in zip(): <http://docs.python.org/library/functions.html#zip> Fixes #145. 27 May 2011, 08:36:36 UTC
98ef2d1 Prefer style over attr. 27 May 2011, 04:15:28 UTC
c75ebe1 Transitions for horizon bands! 26 May 2011, 07:10:14 UTC
a151653 Horizon chart improvements. Use width and height attributes instead of size, for consistency with other chart templates. (Though, note that chart templates are inconsistent with layouts in this regard, which use a size property. But let's remain locally consistent for now.) Default x and y properties to [0] and [1] to match the defaults of d3.svg.area. Add support for mode and interpolate properties. The mode can be either "offset" or "mirror", with the default being "offset". The interpolate property is the same as that used by d3.svg.area, and defaults to "linear". The horizon chart now properly clips the horizon layers, such that if a horizon chart is use within a larger SVG element, it will not extend the chart bounds. In addition, this commit fixes a bug in how unique IDs are assigned to the clip and area paths; it's a shame that SVG does not support a way to refer to paths locally. Note that because negative values are offset or mirrored, the horizon chart will render twice as many paths (use elements) as the requested number of bands. For example, if the default bands of 1 is used, there will be one negative band and one positive band. In the data has no negative values, then the negative band will be empty. Keep this in mind as it affects the layer's class attribute (such as "q0-3" and "q2-3" for the default single-band horizon). 22 May 2011, 18:26:46 UTC
3941be1 Remove extraneous parentheses from `new` operator. Parentheses are optional if there are no arguments. 22 May 2011, 09:22:28 UTC
7126428 Merge branch 'release' 22 May 2011, 00:29:05 UTC
5bf17da Merge branch 'format' into release 22 May 2011, 00:26:29 UTC
392aa11 Simplify new format types. I removed the `F`, `G` and `E` types, since these are redundant and we don't have to be slavishly-compatible with Python. Also, I simplified the implementation of `g`, `e` and `f` so that they use JavaScript's built-in `toPrecision`, `toExponential` and `toFixed`, respectively. The existing implementations weren't exactly compatible with Python, anyway, so we might as well default to using JavaScript's built-ins. 22 May 2011, 00:19:31 UTC
ce52261 Default bins using Sturges' formula. 21 May 2011, 23:56:12 UTC
08a5aa3 Histogram improvements. Rename `ticks` to `bins` to match numpy, matplotlib, and Protovis. Also allow the bins to be specified simply as a count, in which case the range is divided uniformly into the specified number of bins. The histogram layout now also takes a `range` property, which specifies the minimum and maximum value of the histogram rather than implicitly computing it from the values, which is nice if you expect values to fall in a specific range, such as [0,1]. 21 May 2011, 23:38:29 UTC
a462483 More sensible defaults for d3.chart.horizon.{x,y}. 21 May 2011, 20:29:43 UTC
0e75d27 Slightly shorter. 21 May 2011, 20:08:52 UTC
6ba3097 Add d3.bisect. This is similar to pv.search, but more closely modeled after Python's bisect methods to provide the desired flexibility in searching slices of arrays. This includes good tests for bisect, and better tests for polylinear and quantile scales (both of which now use bisect). 21 May 2011, 19:56:06 UTC
5e60672 Add reusable horizon chart. Still to do: support negative values (offset or mirror modes). Fixes #152. 21 May 2011, 09:24:23 UTC
a5d4699 Merge branch 'master' into histogram 20 May 2011, 23:31:51 UTC
1c46ff8 Merge remote-tracking branch 'jasondavies/histogram' into histogram 20 May 2011, 23:09:29 UTC
85a6fee Add support for F, r and p format types. `F` is an alias for `f`. `r` is a new format type that rounds the input number, treating the precision field as the desired number of significant digits. This is similar to `g`, except it never uses exponent notation. `p` is equivalent to `r`, except it outputs a percentage, as with `%`. 20 May 2011, 22:38:09 UTC
01fdc1d Add d3.round. 20 May 2011, 21:20:17 UTC
247e58e Update unit tests. 20 May 2011, 13:46:30 UTC
e89b53c Add unit test for exponential notation. Also fix a bug in precision interpretation. 19 May 2011, 20:04:51 UTC
643efb9 Additional types for d3.format. * "e": exponent notation. * "E": same as "e", except uses "E" as a separator. * "g": precision is interpreted as signficant digits. * "G": same as "g" but uses "E" instead of "e". * "n": equivalent to ",g". * "%": percentages. Fixes #149. 19 May 2011, 19:57:42 UTC
32b02b6 Added configurable treemap layout 14 May 2011, 19:38:20 UTC
987755b Updates. 14 May 2011, 17:58:30 UTC
173a936 Merge branch 'release' 12 May 2011, 18:56:15 UTC
4c998ba Propagate touch identifier in d3.svg.touches. Also, add a fun little example demonstrating multi-touch. 12 May 2011, 18:54:38 UTC
f1a2f62 Simplify touches code slightly. 12 May 2011, 18:28:31 UTC
bdc7023 Merge branch 'touch' into release 12 May 2011, 18:26:09 UTC
3018f87 Rewrite stack layout for flexibility. The stack layout can now operate on arbitrary data structures, rather than requiring a specific input format. To do this, you can now specify functions to access values per series, along with x- and y-coordinates. One tricky thing is that the stack layout needs to be able to write the stacked values back into the data; this is accomplished using the customizable `out` function. This function takes three arguments: the current datum (d), the offset value (y0), and the y value. The y value is unchanged unless the "expand" offset is used. This commit also allows you to specify arbitrary functions for order and offset computation, in addition to the built-in methods supported previously. 12 May 2011, 17:56:31 UTC
25a3a50 Add d3.permute. 12 May 2011, 17:25:05 UTC
ab28a0c Revert "Remove usage of d3_array for efficiency." This reverts commit 1bb3e9b02599f92a21a5b7b7b8f7492a1ba1e011. The performance difference is negligible, and using d3_array results in smaller code. 12 May 2011, 16:20:07 UTC
1bb3e9b Remove usage of d3_array for efficiency. This avoids unnecessarily creating a new array for every touch event. 12 May 2011, 09:10:04 UTC
a5f1407 Add d3.svg.touches for multitouch support. 11 May 2011, 16:26:48 UTC
5f2e430 Add touch support to `d3.svg.mouse`. This doesn't quite seem like the right place for it, but it seems to work when using "touchstart", "touchmove" and "touchend" handlers without any adverse effects on "true" mouse event handlers. See <http://www.jasondavies.com/apollonian-gasket/> to see an example of combined touch/mouse handlers working with this change. 10 May 2011, 21:42:16 UTC
1eb0932 Simplify binary search. 09 May 2011, 08:05:44 UTC
7c518c5 Merge branch 'polylinear' 09 May 2011, 02:54:40 UTC
7ead688 Delete d3.search. Not needed for now, since I opted to create customized versions internally. 09 May 2011, 02:52:12 UTC
c99678e Rename a variable. 08 May 2011, 06:24:42 UTC
e67e7d7 Refactor polylinear scales. This commit adds a d3_uninterpolate method (private, for now), which is essentially the inverse of d3.interpolate. It's used to map a value in the domain to the unit range [0,1], which can then be passed to an interpolator. 08 May 2011, 06:20:02 UTC
5d05154 Merge branch 'release' 07 May 2011, 23:51:30 UTC
978a3ce Merge branch 'stack' into release 07 May 2011, 23:47:46 UTC
e1c6c74 Merge branch '===' into release 07 May 2011, 23:42:59 UTC
ce808da Merge branch 'immediate-transitions' into release 07 May 2011, 23:39:46 UTC
ef905bc Merge branch 'data-listeners' into release 07 May 2011, 23:35:30 UTC
b1b6b14 Merge branch 'monotone' into release 07 May 2011, 23:34:01 UTC
7367df8 Improved monotone interpolation. Mainly, I fixed a bug where the coordinates could get set to NaN if two successive points have the same x-coordinate. But I also cleaned up the implementation slightly, and compute the initial tangents using finite differences. 07 May 2011, 23:32:48 UTC
8aa986d Merge branch 'issue-78' into release 07 May 2011, 18:28:48 UTC
1c413cd Add tests for classed. 07 May 2011, 18:27:48 UTC
back to top