Permalink
Commits on Jul 3, 2011
  1. Merge branch 'hierarchy'

    mbostock committed Jul 3, 2011
  2. Backwards-compatibility for inlining.

    There's now a new API for invoking the hierarchy layout (hierarchy.nodes) rather
    than calling the layout function directly. Calling the new API enables inlining,
    which is disabled by default for backwards-compatibility.
    mbostock committed Jul 3, 2011
Commits on Jul 2, 2011
  1. Add expandable tree.

    mbostock committed Jul 2, 2011
  2. Fix interrupted transitions.

    mbostock committed Jul 2, 2011
  3. Move data files into examples directory.

    This way, we don't need symlinks (which don't work on Windows). This commit also
    simplifies the structure of the flare.json file, so that we don't need to tricky
    conversion of the JSON map—it can be read directly by the hierarchy layout.
    mbostock committed Jul 2, 2011
  4. Adopt inline(true) for all hierarchy examples.

    The ones with transitions were a bit trickier, because they depended on the
    layout creating new copy of the nodes when the layout runs.
    mbostock committed Jul 2, 2011
  5. Add `inline` property to hierarchy layout.

    This allows you to disable the default behavior which wraps the input data. I am
    investigating whether we can disable automatic wrapping, which causes confusion
    between "data" and "nodes".
    mbostock committed Jul 2, 2011
Commits on Jun 30, 2011
  1. Add d3.first and d3.last.

    These are like d3.min and d3.max, but a bit more flexible for determing the
    lowest or highest element in a given array.
    mbostock committed Jun 30, 2011
Commits on Jun 28, 2011
  1. Allow quadtree to be built dynamically.

    You can now specify the domain of the quadtree upon construction, such that you
    can add points to the quadtree dynamically later. The quadtree example now also
    shows how to do a quick rectangular search using the quadtree.
    mbostock committed Jun 28, 2011
Commits on Jun 27, 2011
Commits on Jun 26, 2011
  1. make `make` work

    natevw committed Jun 26, 2011
Commits on Jun 25, 2011
  1. Better stroke colors.

    mbostock committed Jun 25, 2011
Commits on Jun 24, 2011
  1. Merge branch 'release'

    mbostock committed Jun 24, 2011
  2. Add d3.svg.area.radial.

    mbostock committed Jun 24, 2011
  3. Merge branch 'bundle' into area

    mbostock committed Jun 24, 2011
  4. Add x0 & x1 accessors to d3.svg.area.

    Thanks for the inspiration, @strongh!
    mbostock committed Jun 24, 2011
  5. Refactor ticks implementation.

    This commit adds a new static function for computing the extent (min and max) of
    a scale's domain, simplifying the logic in the ticks functions and ensuring
    standard behavior (such as repeated values). Also, the linear ticks function is
    extracted for reuse by the pow scale.
    
    I opted not to reverse the tick order for descending domains; this might be nice
    but it doesn't seem required, so we might as well keep the code small.
    mbostock committed Jun 24, 2011
Commits on Jun 23, 2011
  1. Replace basis+beta with bundle+tension.

    There's already a tension parameter, and it seems reasonable to overload this
    parameter (originally intended for cardinal splines) to also apply to bundle
    splines. The new "bundle" interpolation is identical to "basis" interpolation;
    the only difference is that the tension parameter is used to straighten the
    basis spline.
    mbostock committed Jun 23, 2011
  2. Update comments for clarity.

    mbostock committed Jun 23, 2011
Commits on Jun 22, 2011
  1. Rename bundle.css.

    mbostock committed Jun 22, 2011
  2. Simplify mouseover interaction.

    mbostock committed Jun 22, 2011
  3. Add d3.svg.diagonal.radial.

    mbostock committed Jun 22, 2011
  4. Add d3.svg.line.radial.

    mbostock committed Jun 22, 2011
  5. Listen for "mousemove" on window.

    I think this gives a better experience on big monitors. :-) I've also used
    d3.timer to update the paths in case there is a backlog of mousemove events.
    I'm not sure this is necessary but in testing on a fast machine sometimes it
    processes two mousemove events and only draws the most recent one with this
    change.
    jasondavies committed Jun 22, 2011
  6. Revert "Use approximate sin/cos for faster interpolation."

    This reverts commit c5450fa.
    
    It turns out this approximation is not that much faster than Math.{sin,cos}; I
    think the perceived performance is more related to the responsiveness to the
    "mousemove" event.
    jasondavies committed Jun 22, 2011
  7. Use approximate sin/cos for faster interpolation.

    This particular approximation is taken from
    <http://www.devmaster.net/forums/showthread.php?t=5784> but there may well be
    better ones out there.  This seems to work nicely though!
    jasondavies committed Jun 22, 2011