Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 9, 2011
  1. Merge branch 'release'

  2. Merge @ignacioola's fix.

Commits on Jul 8, 2011
  1. @jasondavies

    Remove force.gravityCenter.

    jasondavies authored
    Simpler to perform gravity calculations in a custom tick handler.
  2. @jasondavies

    Add per-node gravity: force.gravityCenter.

    jasondavies authored
    This allows the Dorling/Demers cartograms to be slightly closer to the real
    Also, fix the Dorling collision detection as self-collisions were previously
    being detected.  Thanks, Mike!
    Lastly, I've removed the variable per-link distance as this is no longer needed.
  3. @jasondavies
  4. @jasondavies

    Add Demers cartogram example.

    jasondavies authored
    Like a Dorling cartogram, but with squares instead of circles.
  5. @jasondavies
  6. @jasondavies
  7. @jasondavies

    Initial version of Dorling cartogram example.

    jasondavies authored
    This version uses variable-length links, but I think collision detection
    performed after initial positioning at state centroids would look better.
  8. @jasondavies

    Add missing force.linkStrength property.

    jasondavies authored
    Also update examples to use force.linkDistance instead of force.distance.
  9. @jasondavies

    Add variable link strength (alpha) to force layout.

    jasondavies authored
    Also, rename force.distance to force.linkDistance, but keep force.distance as an
    alias for backwards-compatibility.
    Fixes #211.
  10. @jasondavies
  11. @jasondavies
Commits on Jul 7, 2011
  1. @ignacioola
Commits on Jul 4, 2011
  1. Delete symlinks.

  2. @jmalonzo
Commits on Jul 3, 2011
  1. Prettier colors.

  2. Add force toggle example.

  3. Merge branch 'hierarchy'

  4. 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.
Commits on Jul 2, 2011
  1. Add expandable tree.

  2. Fix interrupted transitions.

  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.
  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.
  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".
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.
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.
Something went wrong with that request. Please try again.