Skip to content
This repository
tag: v1.17.1

May 27, 2011

  1. Mike Bostock

    Prefer style over attr.

    authored

May 22, 2011

  1. Mike Bostock

    Merge branch 'release'

    authored
  2. Mike Bostock

    Merge branch 'format' into release

    authored
  3. Mike Bostock

    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.
    authored

May 21, 2011

  1. Mike Bostock

    Default bins using Sturges' formula.

    authored
  2. Mike Bostock

    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].
    authored
  3. Mike Bostock

    Slightly shorter.

    authored
  4. Mike Bostock

    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).
    authored

May 20, 2011

  1. Mike Bostock

    Merge branch 'master' into histogram

    authored
  2. Mike Bostock

    Merge remote-tracking branch 'jasondavies/histogram' into histogram

    authored
  3. Mike Bostock

    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 `%`.
    authored
  4. Mike Bostock

    Add d3.round.

    authored
  5. Jason Davies

    Update unit tests.

May 19, 2011

  1. Jason Davies

    Add unit test for exponential notation.

    Also fix a bug in precision interpretation.
  2. Jason Davies

    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.

May 12, 2011

  1. Mike Bostock

    Merge branch 'release'

    authored
  2. Mike Bostock

    Propagate touch identifier in d3.svg.touches.

    Also, add a fun little example demonstrating multi-touch.
    authored
  3. Mike Bostock

    Simplify touches code slightly.

    authored
  4. Mike Bostock

    Merge branch 'touch' into release

    authored
  5. Mike Bostock

    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.
    authored
  6. Mike Bostock

    Add d3.permute.

    authored
  7. Jason Davies

    Revert "Remove usage of d3_array for efficiency."

    This reverts commit 1bb3e9b.
    
    The performance difference is negligible, and using d3_array results in smaller
    code.
  8. Jason Davies

    Remove usage of d3_array for efficiency.

    This avoids unnecessarily creating a new array for every touch event.

May 11, 2011

  1. Jason Davies

    Add d3.svg.touches for multitouch support.

May 10, 2011

  1. Jason Davies

    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.

May 09, 2011

  1. Jason Davies

    Simplify binary search.

  2. Mike Bostock

    Merge branch 'polylinear'

    authored
  3. Mike Bostock

    Delete d3.search.

    Not needed for now, since I opted to create customized versions internally.
    authored

May 08, 2011

  1. Mike Bostock

    Rename a variable.

    authored
  2. Mike Bostock

    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.
    authored

May 07, 2011

  1. Mike Bostock

    Merge branch 'release'

    authored
  2. Mike Bostock

    Merge branch 'stack' into release

    authored
  3. Mike Bostock

    Merge branch '===' into release

    authored
  4. Mike Bostock

    Merge branch 'immediate-transitions' into release

    authored
  5. Mike Bostock

    Merge branch 'data-listeners' into release

    authored
Something went wrong with that request. Please try again.