Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 21, 2012
  1. Add selection.datum. Fixes #489.

  2. Use for d3_svg_symbols.

    This fixes a crash with the symbol type "hasOwnProperty", rather than defaulting
    to "circle". This commit also adds new map methods to retrieve the keys, values
    and entries. The map class now uses non-enumerable properties (if supported).
Commits on Feb 20, 2012
  1. Add

    This is, essentially, an ES6 shim for a Harmony Map. We will use it instead of
    using a bare object, so that we don't need to worry about collision with built-
    in properties names (such as "__proto__" and "hasOwnProperty").
Commits on Feb 19, 2012
  1. @jasondavies

    Merge branch 'master' into mouse

    jasondavies authored
  2. @jasondavies
  3. Add interval.range, and time.scale.nice.

    This commit provides a standard interface for time intervals:
      interval.offset(date, k)
      interval.range(start, stop, step)
    All local-time intervals (such as have a UTC-equivalent interval,
    available as interval.utc (such as
    Fixes #463. Note that for the time.scale, an interval function is required to
    nice (such as In the future, we might relax that to allow a count
    of ticks, similar to the ticks method, but in that case we'd also need the
    ability to floor to a given tick number (e.g., every other week) and likewise
    for ceil. This seems like a reasonable first implementation.
  4. Unify interval definitions via d3_time_utc.

    Rather than having two implementations for local time and UTC time, we now have
    a single local-time implementation and use d3_time_utc to adapt for UTC.
Commits on Feb 18, 2012
  1. Consolidate everything into d3.v2.js.

    Rather than producing separate files for each module, the default build now
    produces a single file. This should encourage better page-load performance as
    the files were relatively small. Also, it's easier to deal with only one file
    rather than many, especially if you're not quite sure what the dependencies are.
    You may still create minimized builds, if you don't want every feature.
    This commit also demotes the chart components to the examples directory, rather
    than keeping them as part of the core library. As always, D3 is not a charting
    library, and these were ever only intended to serve as examples.
Commits on Feb 14, 2012
  1. @jasondavies

    Add d3.svg.{mouse,touches} aliases.

    jasondavies authored
    For backwards-compatibility.
Commits on Jan 26, 2012
Commits on Jan 9, 2012
  1. @jasondavies
  2. @jasondavies
Commits on Dec 9, 2011
  1. Add selection.order.

    It's like selection.sort, except it assumes that the data is already sorted;
    the elements are reordered to match the selection.
Commits on Nov 23, 2011
  1. Add transpose.

Commits on Nov 4, 2011
  1. Add d3.transform and d3.interpolateTransform.

    This is based on @jasondavies previous work on interpolating 3D matrices,
    simplified to only handle 2D transforms, and using SVG to parse transforms.
Commits on Nov 2, 2011
  1. Add parallel coordinates example.

    This includes a d3.extent convenience method for [d3.min, d3.max], and fixes the
    brush component such that the resizers are hidden when the extent is empty.
Commits on Nov 1, 2011
  1. Query the brush selection.

    You can now query the brush for its selection. This commit also includes a new
    d3.random.normal for generating random numbers with a normal distribution. This
    is useful for jittering points for display.
Commits on Oct 31, 2011
  1. First cut at a brush component.

    The d3.svg.brush component allows one- or two-dimensional rectangular brushing.
    A future commit will allow the brushed region to be resized by grabbing an edge,
    and also provide some way of reporting the selection (duh)!
Commits on Oct 20, 2011
  1. Fix a bug in enter selection's empty.

    Due to the ordering in which the prototypes are defined, it was still undefined!
    Also, the empty method depends on the node method being defined. Added a test.
Commits on Oct 13, 2011
  1. @jasondavies

    Update UglifyJS, JSDOM and Vows.

    jasondavies authored
    I ran the tests on the newly minified files too, for good measure, and
    everything passed.
Commits on Oct 11, 2011
  1. Fix a rounding bug in SI-prefix format.

    Also, expose d3.formatPrefix so that it's easier for callers to create a
    formatter for a specific prefix (such as using the "G" prefix for all ticks).
  2. Add d3.median.

Commits on Oct 7, 2011
  1. @jasondavies

    Add d3.mean.

    jasondavies authored
    Uses Welford's algorithm to avoid overflow.
    See #245.
  2. Fix spaces.

Commits on Oct 4, 2011
  1. @larskotthoff
Commits on Oct 3, 2011
  1. @larskotthoff

    make Makefile GNU make v3.82 compatible

    larskotthoff authored
    Quote from NEWS file:
    In previous versions of make it was acceptable to list one or more explicit
    targets followed by one or more pattern targets in the same rule and it
    worked "as expected". However, this was not documented as acceptable and if
    you listed any explicit targets AFTER the pattern targets, the entire rule
    would be mis-parsed. This release removes this ability completely: make
    will generate an error message if you mix explicit and pattern targets in
    the same rule.
Commits on Sep 27, 2011
  1. Add install rule to Makefile.

  2. Add

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