Permalink
Commits on Jun 12, 2011
  1. Better nicing for pow scales.

    mbostock committed Jun 12, 2011
  2. Minor tweak.

    mbostock committed Jun 12, 2011
Commits on Jun 11, 2011
  1. Add superformula explorer.

    mbostock committed Jun 11, 2011
  2. Merge branch 'superformula'

    mbostock committed Jun 11, 2011
  3. Move d3.svg.superformula into an example.

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

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

    mbostock committed Jun 11, 2011
  6. Add d3.interpolators registry.

    mbostock committed Jun 11, 2011
    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.)
  7. Reduce code duplication.

    mbostock committed Jun 11, 2011
    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!
  8. Simplify subclassing of hierarchy layout.

    mbostock committed Jun 11, 2011
    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.
  9. Tweens are now optional.

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

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

    jasondavies committed Jun 7, 2011
  3. Fix nice pow scale.

    jasondavies committed Jun 7, 2011
    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.
  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.

    jasondavies committed Jun 6, 2011
    Turns out we just needed to test for reversed domains.
    
    Fixes #176.
  2. Add d3.scale.log().nice().

    jasondavies committed Jun 6, 2011
    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.
  3. Update unit tests.

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

    jasondavies committed Jun 6, 2011
    Based on the Protovis implementation.  "Nices" the scale, extending the bounds
    of the input domain to evenly-rounded values.
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.

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

    mbostock committed May 30, 2011