Permalink
Commits on Jun 11, 2011
  1. Merge branch 'superformula'

    mbostock committed Jun 11, 2011
  2. 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.
    mbostock committed Jun 11, 2011
  3. Merge branch 'release'

    mbostock committed Jun 11, 2011
  4. Remove trailing whitespace.

    mbostock committed Jun 11, 2011
  5. 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.)
    mbostock committed Jun 11, 2011
  6. 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!
    mbostock committed Jun 11, 2011
  7. 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.
    mbostock committed Jun 11, 2011
  8. 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.
    mbostock committed Jun 11, 2011
Commits on Jun 7, 2011
  1. Slightly more compact tests for nice scales.

    The longer domains mess up the aligment but I'm sure Mike will figure something
    out!
    jasondavies committed Jun 7, 2011
  2. Add semicolons.

    jasondavies committed Jun 7, 2011
  3. 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.
    jasondavies committed Jun 7, 2011
  4. Add title.

    mbostock committed Jun 7, 2011
  5. Add d3.svg.superformula.

    mbostock committed Jun 7, 2011
  6. added more shapes

    biovisualize committed Jun 7, 2011
  7. Added shape tween

    biovisualize committed Jun 7, 2011
Commits on Jun 6, 2011
  1. Fix "nice" log scales.

    Turns out we just needed to test for reversed domains.
    
    Fixes #176.
    jasondavies committed Jun 6, 2011
  2. 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.
    jasondavies committed Jun 6, 2011
  3. Update unit tests.

    Forgot to update the .out file in the previous commit.  Also added a check for
    domain [0, .49].
    jasondavies committed Jun 6, 2011
  4. Add d3.scale.linear().nice().

    Based on the Protovis implementation.  "Nices" the scale, extending the bounds
    of the input domain to evenly-rounded values.
    jasondavies committed Jun 6, 2011
Commits on Jun 3, 2011
Commits on Jun 2, 2011
  1. Add Marimekko chart example.

    mbostock committed Jun 2, 2011
Commits on May 30, 2011
  1. 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.
    mbostock committed May 30, 2011
  2. Merge branch 'azimuthal'

    mbostock committed May 30, 2011
  3. Merge branch 'release'

    mbostock committed May 30, 2011