Permalink
Commits on Sep 30, 2011
Commits on Sep 29, 2011
Commits on Sep 28, 2011
  1. Add node-canvas example.

    mbostock committed Sep 28, 2011
    Demonstrates how to render geographic shapes to a canvas and save to PNG.
Commits on Sep 27, 2011
  1. Merge branch 'release'

    mbostock committed Sep 27, 2011
  2. Add install rule to Makefile.

    mbostock committed Sep 27, 2011
  3. Add simple great-arc example.

    mbostock committed Sep 27, 2011
  4. Cleanup us-state-centroids.json.

    mbostock committed Sep 27, 2011
    There was trailing whitespace in the state names.
  5. Better world-countries.json.

    mbostock committed Sep 27, 2011
    This was generated using the Natural Earth data set, which has nicer
    simplification than my previous approach using MapShaper. Also, this includes
    some updated boundaries, such as the split between Sudan and South Sudan. And,
    counties now have ISO 3166-1 alpha-3 codes.
  6. Add d3.geo.circle.

    mbostock committed Sep 27, 2011
    There is also a greatCircle as an alias, whose angle defaults to 90 degrees. (Or
    should, but some projections cannot handle 90 degrees so we use 89 instead.)
  7. Merge branch 'release'

    mbostock committed Sep 27, 2011
  8. Add back d3_array for IE9.

    mbostock committed Sep 27, 2011
    This also tweaks the array conversion slightly so that it is called by
    selection.selectAll rather than d3_selectAll; this guarantees that the selection
    groups are always arrays, even when a function selector is used.
  9. Add d3.geo.greatArc.

    mbostock committed Sep 27, 2011
    The greatArc class is the new name for greatCircle, which actually represents
    great arcs. Meanwhile, a new greatCircle class is for great circles. The new
    greatCircle class replaces the old clip class, providing clipping and resampling
    functionality (using greatArc internally). This isn't backwards-compatible, but
    I may forgo the major version number bump in light of the fact that greatCircle
    was just added, and not used in any (official) examples or documented.
  10. Fix a bug in Antarctica.

    mbostock committed Sep 27, 2011
    It's a MultiPolygon, not a Polygon. Those are islands, not holes!
Commits on Sep 26, 2011
  1. Minor cleanup of force-cluster example.

    jasondavies committed Sep 26, 2011
    We don't need to reselect now that appending nodes to the entering
    selection are automatically added to the updating selection.
  2. Rename standardParallel to parallel.

    jasondavies committed Sep 26, 2011
    And add missing file!
Commits on Sep 25, 2011
  1. Add Bonne geographic projection.

    jasondavies committed Sep 25, 2011
    Note that the Werner projection is a special case with standard parallel
    at 90°N, and the Sinusoidal projection is also a special case with
    standard parallel at 0°N.
Commits on Sep 24, 2011
Commits on Sep 22, 2011
  1. Less zealous click cancelling.

    jasondavies committed Sep 22, 2011
    The click event is prevented from propagating when a drag has occurred
    i.e. the mouse has moved between mousedown and mouseup.  This is because
    a click event will be triggered after a mousedown and mouseup have
    occurred on the same element.  However, we were cancelling the next
    click event *anywhere*, regardless of whether mousedown and mouseup
    occurred on the same element or not.
    
    As a sanity check, we also check that the click event was triggered on
    the same element that mousedown *and* mouseup occurred on, before
    cancelling it.  Just in case!
Commits on Sep 21, 2011
  1. Better log ticks.

    mbostock committed Sep 21, 2011
    This adds support for filtering the log ticks, such that fewer ticks can be
    generated to fit in a small space. This can be used in conjunction with a
    custom tick format as well. This commit also changes the default log tick format
    to be exponential rather than precision, for consistency.