https://github.com/d3/d3

sort by:
Revision Author Date Message Commit Date
2df8c62 Merge branch 'fix-dispatch' 22 November 2011, 22:38:43 UTC
1b3a3b3 dispatch.on(name) returns the current listener. Fixes #383. This includes a non-backwards-compatible change to d3.rebind, so as to make it easier to rebind multiple methods on subclasses. 22 November 2011, 22:36:09 UTC
75ddc28 Fix a bug when removing a shared listener. Previously, each listener function had a private _on property which recorded whether the listener was enabled; this was set to false when the listener was removed. (This is necessary because of the copy-on-write semantics when the array of listeners is modified while events are being dispatched.) If the listener was registered for multiple event types ("foo" and "bar") then removing the listener for any type would disable it for all types. The fix is to wrap the listener in an object. This also has better encapsulation since the state is kept private. 22 November 2011, 21:08:55 UTC
5d57fa7 Add .npmignore. 19 November 2011, 00:52:35 UTC
b04112a Merge branch 'release' 16 November 2011, 21:55:11 UTC
b4c6b00 Merge branch 'transform' into release 16 November 2011, 21:54:20 UTC
64c4e78 Merge branch 'master' into log 16 November 2011, 21:53:28 UTC
3007db2 Slightly smaller code. 16 November 2011, 21:45:28 UTC
0ad865f Bump epsilon. 16 November 2011, 21:23:33 UTC
204506c Fix d3.transform and add browser-based tests. This fixes various corner cases involving negative and zero scales, as well as proper support for skewX, which previously wasn't being computed correctly. Fixes #377. 16 November 2011, 21:16:14 UTC
7fe3ae4 Fix a couple bugs with transforms. We need to check the matrix determinant for flipped coordinates. We also need to check for invalid transforms, which are now treated as the identity transform. 15 November 2011, 00:07:11 UTC
4090261 Merge branch 'master' of github.com:mbostock/d3 14 November 2011, 15:59:11 UTC
98b6abd Improvements to collapsible force example. 14 November 2011, 02:28:09 UTC
3de298b Fixed precision for the default log tick format. Also add @jmarca's test case. 10 November 2011, 20:35:09 UTC
da47ae8 Remove spurious rounding. 10 November 2011, 20:31:54 UTC
5ae34aa Merge pull request #371 from jasondavies/deps Update JSDOM and Vows versions (Node.js v0.6.x compatibility). 09 November 2011, 19:29:27 UTC
4d6b5bc Update JSDOM and Vows versions. This required changing assert.length to assert.lengthOf in tests, due to a Vows.js change to be compatible with Node.js v0.6.x. For further details: https://github.com/cloudhead/vows/pull/141 09 November 2011, 19:19:15 UTC
af5fccd Use inclusive bounds for brush examples. 05 November 2011, 02:42:59 UTC
8cba1d7 Merge branch '2.5.0' 05 November 2011, 02:36:50 UTC
7ae28f1 Merge branch 'transform' into 2.5.0 05 November 2011, 02:06:43 UTC
9460e7f Add transform transition example. 05 November 2011, 02:05:06 UTC
d85d29e Tolerate uninvertible matrices. 05 November 2011, 02:03:17 UTC
8d68572 Merge branch 'interpolate' of https://github.com/jasondavies/d3 into 2.5.0 05 November 2011, 01:08:53 UTC
a7ff9fa Restore d3_interpolateByName for transforms. 04 November 2011, 23:46:35 UTC
e3f6f33 Add d3.transform and d3.interpolateTransform. This is based on @jasondavies previous work on interpolating 3D matrices, simplified to only handle 2D transforms, and using SVG to parse transforms. 04 November 2011, 23:19:58 UTC
ff8225b Add state names. 04 November 2011, 22:14:06 UTC
e78cd68 Merge branch 'interpolate' of https://github.com/jasondavies/d3 into 2.5.0 04 November 2011, 22:13:44 UTC
151f0ba Slightly shorter regex. Exactly the same speed in Chrome (probably both are optimised into the same form): http://jsperf.com/number-matching 04 November 2011, 22:12:05 UTC
e60bc4d Fix minor bug in exponent notation interpolation. 04 November 2011, 22:01:55 UTC
6fe70a8 Remove defunct d3_interpolateByName. 04 November 2011, 21:10:01 UTC
306d504 Disable sorting in donut transition example. 04 November 2011, 20:48:56 UTC
557abcc Merge branch 'zoom-extent' of https://github.com/jasondavies/d3 into 2.5.0 04 November 2011, 20:41:02 UTC
4cfdc94 Tiny simplification. 04 November 2011, 20:39:06 UTC
070b463 Reuse infinite extent. 04 November 2011, 20:38:13 UTC
92b010f Fix typo introduced in last commit. 04 November 2011, 20:35:09 UTC
1637c4b Fix merge bug. 04 November 2011, 20:32:14 UTC
83f9b82 Merge remote-tracking branch 'mbostock/zoom' into zoom-extent Conflicts: d3.js d3.min.js src/behavior/zoom.js 04 November 2011, 20:25:45 UTC
d2c424a A null extent should set extent to infinities. 04 November 2011, 20:23:51 UTC
a5b538b More meaningful naming. 04 November 2011, 20:19:14 UTC
9006592 Merge branch 'zoom-extent' of https://github.com/jasondavies/d3 into zoom 04 November 2011, 20:18:19 UTC
60e80dc Remove unnecessary origin accessor from zoom. I don't think this is needed any more, as we now clamp the extent in the behaviour itself. 04 November 2011, 20:18:18 UTC
14b8d48 Fix silly bug. This was due to mishandling infinities in the clamping function, so the default extent was "backwards". 04 November 2011, 20:14:20 UTC
99963f0 Merge branch 'zoom-extent' of https://github.com/jasondavies/d3 into zoom 04 November 2011, 19:41:42 UTC
4882a64 Fix range generation for ordinal scales. Using d3.range with a floating point step is a bit sketchy, because there's a chance that too many or too few elements could be generated. Instead, we now we generate an integer range and scale it accordingly. 04 November 2011, 19:03:01 UTC
6aad8c7 Use a single brush for scatterplot matrix. 04 November 2011, 18:28:27 UTC
a9043b9 Merge pull request #363 from jasondavies/extent Use single loop for d3.extent. 04 November 2011, 00:04:02 UTC
98da365 Merge branch 'master' of github.com:mbostock/d3 04 November 2011, 00:02:19 UTC
d11b5d9 Merge remote-tracking branch 'mbostock/brush' into extent Conflicts: d3.js d3.min.js src/core/extent.js test/core/extent-test.js 03 November 2011, 17:34:02 UTC
a4abdc3 Use a single loop for d3.extent. 03 November 2011, 16:59:41 UTC
2b42dec Invoke accessor once per value in d3.extent. This allows the use of nondeterministic accessors. Also add a test. 03 November 2011, 16:20:06 UTC
6c8b308 Add .DS_Store to .gitignore. 03 November 2011, 16:06:04 UTC
149320f Add parallel coordinates example. This includes a d3.extent convenience method for [d3.min, d3.max], and fixes the brush component such that the resizers are hidden when the extent is empty. 02 November 2011, 23:19:37 UTC
af589a0 Update SPLOM example to use d3.svg.brush. This required a couple core changes. First, the brush shouldn't notify listeners when redrawing, because this commonly causes an infinite loop if one brush triggers a change in another brush (as in a scatterplot matrix, where only one brush is active at a given time). I suppose an alternative implementation might use just a single brush, and assign the axes dynmically; I might try that in a future commit. Second, I added a clear convenience method to reset a brush. 02 November 2011, 18:44:29 UTC
6ebc2fc Merge pull request #359 from jasondavies/brush Remove stray global in brush example. 02 November 2011, 16:18:57 UTC
6651c17 Remove stray global in example. 02 November 2011, 12:32:50 UTC
49c5b60 The space key now lets you drag temporarily! 02 November 2011, 02:14:12 UTC
20b68c3 Use the altKey to preserve the brush center. A somewhat hidden feature, but useful! 02 November 2011, 01:08:54 UTC
6e1cad4 Brush refinements. The brush component now reports brushstart and brushend events at the start and end of a brushing gesture, which is useful for some types of interaction. You can now set the brush extent programmatically, as well. Note, however, that you'll probably want to redraw the brush after setting the extent. 01 November 2011, 23:53:09 UTC
a475cd5 Query the brush selection. You can now query the brush for its selection. This commit also includes a new d3.random.normal for generating random numbers with a normal distribution. This is useful for jittering points for display. 01 November 2011, 20:30:58 UTC
42a59ac Resizeable brush. 01 November 2011, 18:57:37 UTC
c72f10a Add resize handles. These aren't yet hooked up to interaction, but they show the right cursor! 01 November 2011, 01:03:48 UTC
e3d59bd First cut at a brush component. The d3.svg.brush component allows one- or two-dimensional rectangular brushing. A future commit will allow the brushed region to be resized by grabbing an edge, and also provide some way of reporting the selection (duh)! 31 October 2011, 23:59:17 UTC
eda09f4 Merge branch 'touches' of https://github.com/jasondavies/d3 into 2.5.0 29 October 2011, 17:50:09 UTC
392ded0 Namespaces for d3.dispatch events. Fixes #294. This isn't backwards-compatible, but d3.dispatch is considered an internal API so this doesn't require a major version bump. 29 October 2011, 17:42:19 UTC
0ad900a Comment re. clipping and invalid inputs. Fixes #235. 29 October 2011, 16:39:52 UTC
338094e Add main property to package.json. Fixes #340. 29 October 2011, 00:11:20 UTC
6bf2071 Merge branch 'pie' into 2.5.0 29 October 2011, 00:05:50 UTC
d57e278 Sort by descending value by default. Fixes #348. 29 October 2011, 00:04:03 UTC
4a0c384 Coerce pie values to numbers. Fixes #347. 28 October 2011, 23:53:58 UTC
bb19373 Merge branch 'calendar' into release 28 October 2011, 23:48:03 UTC
95a4dce Tiny simplification. 28 October 2011, 23:47:31 UTC
31d00a9 Prettify tooltips on non-data calendar dates. 28 October 2011, 23:43:00 UTC
9d56825 Add comment re. Opera bug. 28 October 2011, 23:29:23 UTC
b073edf Merge branch 'opera-chord' of https://github.com/larskotthoff/d3 into chord 28 October 2011, 23:15:07 UTC
8f98f81 Simplify touchend handling. We only care about changed touches for d3.behavior.drag. 25 October 2011, 08:54:30 UTC
c16417c Better handling of "touchend". We can't check for existence of event.touches to decide whether to use it or not for touchend, as it always exists, just not containing the touch that just ended. 25 October 2011, 08:52:00 UTC
d0d665c Optional touch array argument for d3.svg.touches. By default, we probably want to use event.touches, but for "touchend" events it's useful to retrieve the positions of event.changedTouches. 25 October 2011, 08:30:59 UTC
bd90a2f Use changedTouches instead of touches. This is because the "touchend" event removes the touch from event.touches on iOS, but it can still be accessed via event.changedTouches. 25 October 2011, 08:12:42 UTC
c0e5b96 Fix two sorting bugs in chord layout. We still weren't sorting subgroups correctly. Also, we now sort chords by their average value, rather than the source value, which works well with one-sided chords (where either the source or target value is zero). 24 October 2011, 02:39:40 UTC
81db54c Simplify code. 20 October 2011, 14:54:24 UTC
8bfa56c Fix another bug with infinite extents. 20 October 2011, 14:52:06 UTC
bc2394a Fix bug when no extents are specified. 20 October 2011, 14:27:02 UTC
a93a371 Add configurable extents to d3.behavior.zoom. The extents parameter is a 3-element array of ranges, corresponding to the ranges allowed in pixel-space at zoom-level 0. Each range is a two-element array. For example, to restrict zooming and panning to a rectangle of width w and height h, with minimum zoom level 0, use: .extents([[0, w], [0, h], [0, Infinity]]) 20 October 2011, 12:19:16 UTC
6830a0f Add configurable origin to d3.behavior.zoom. This defaults to storing the absolute scale and transform across multiple zooms. However, it can be modified to retrieve state from outside the behaviour e.g. if the offsets have been restricted in some way, the true values should be returned in a custom offset accessor. The offset accessor is called on "mousedown" or "touchstart", and so has access to the current mouse position. 20 October 2011, 11:02:53 UTC
2f6d2fa Merge branch 'deps' of https://github.com/jasondavies/d3 20 October 2011, 01:01:39 UTC
a62bd52 Fix a bug in enter selection's empty. Due to the ordering in which the prototypes are defined, it was still undefined! Also, the empty method depends on the node method being defined. Added a test. 20 October 2011, 00:57:53 UTC
b4cf93f Fix cartogram for IE9. 19 October 2011, 21:23:14 UTC
fb07750 Add state names. 17 October 2011, 17:27:57 UTC
99f3cb9 Add labels to tree-interactive example. 17 October 2011, 16:54:11 UTC
76bcd2a Update JSDOM to 0.2.8. 17 October 2011, 07:43:27 UTC
3f3569c Consistent timing for subtransitions. It was previously possible for small differences in the reference time for subtransitions. This could lead to tearing with expensive transitions, as some transitions would have slightly different reference times than the others. This is fixed by passing the reference time along explicitly when deriving a new transition, either by the transition or selection operators. 14 October 2011, 20:45:16 UTC
c724d95 Update UglifyJS, JSDOM and Vows. I ran the tests on the newly minified files too, for good measure, and everything passed. 13 October 2011, 10:35:59 UTC
c623877 Add hierarchical bar chart example. 13 October 2011, 07:30:45 UTC
4731d2c Calendar example improvements. 13 October 2011, 00:55:08 UTC
c86108e Fix a daylight savings bug in d3.time.format. We weren't computing the day-of-year number correctly, which affected both day number and week number directives (%j, %U, and %W). 12 October 2011, 22:37:32 UTC
846bd5c Add dji-area example with ggplot2 styles. 12 October 2011, 21:02:57 UTC
32907ec Merge branch 'release' 12 October 2011, 01:02:06 UTC
639f802 Merge branch 'nice' into release 12 October 2011, 01:01:43 UTC
b5a1c34 Merge branch 'nice' of https://github.com/jasondavies/d3 into nice 12 October 2011, 01:01:25 UTC
2adcdfe Add extended ISO 8601 support. The d3.time.format.iso is designed to be compatible with the default JSON serialization of dates, which includes milliseconds. So, d3.time.format now supports the %L directive for formatting and parsing milliseconds. This commit also changes d3.time.format.iso to use native ISO date methods, if available. 12 October 2011, 00:46:13 UTC
back to top