1
0
mirror of https://github.com/d3/d3.git synced 2026-01-25 15:24:06 +00:00

45 Commits

Author SHA1 Message Date
Mike Bostock
326bb317c4 Remove obsolete license. 2013-10-05 14:18:31 -07:00
Mike Bostock
e6740d16ad Restructure Voronoi implementation using SMASH. 2013-10-05 14:13:24 -07:00
Mike Bostock
04bbf9f318 Checkpoint new Voronoi implementation.
Still significant work left to minimize the size of the implementation, and
restore support for Delaunay meshes, but this provides a starting point.
2013-10-05 14:10:26 -07:00
Mike Bostock
5c1bf0e358 Add lib/rhill-voronoi. 2013-10-05 14:09:52 -07:00
Jason Davies
864e0da147 Use additional precision for accumulating area.
This uses double the available floating point precision, so that
small floating point errors do not accumulate too quickly.

Fixes #1305.
2013-06-11 10:18:25 +01:00
Mike Bostock
09fbbc77c5 Merge branch 'master' of https://github.com/ilyabo/d3 into 3.1.0 2013-03-20 21:34:12 -07:00
Mike Bostock
ecd77dc8d4 Remove cruft. 2013-03-13 02:03:00 -07:00
Dean Malmgren
a997600163 added qualitative color scales to colorbrewer.css 2013-03-07 09:12:47 -06:00
Dean Malmgren
16d786c24d added qualitative color schemes to colorbrewer.js 2013-03-07 09:05:51 -06:00
Calvin Metcalf
4cc7599b5f add var colorbrewer = 2013-02-14 14:17:57 -05:00
Mike Bostock
1e0eb6e286 Format for readability. 2013-02-14 10:09:35 -08:00
Mike Bostock
183060d40f Upgrade dependencies; remove Sizzle dependency. 2013-01-24 09:26:22 -08:00
Mike Bostock
ea265a87e3 Remove broken mercator example. 2012-11-11 11:22:44 -08:00
Mike Bostock
1b9aa90c38 Cleanup examples. 2012-11-11 11:20:15 -08:00
Mike Bostock
f8032a4268 Extract easing license. 2012-10-11 14:52:35 -07:00
Jason Davies
3c0cdb2285 Update science.js to 1.7.0: fix science.stats.kde. 2011-09-09 23:37:59 +01:00
Mike Bostock
82385841fc Replace submodule with package.json.
This is better, because now we can enumerate all of our dependencies without
embedding them as submodules. After pulling, run `npm install`.
2011-08-18 10:10:16 -07:00
Mike Bostock
00d8bf71a3 Rename lib/uglifyjs to lib/uglify-js. 2011-08-17 16:23:11 -07:00
Mike Bostock
97db7800ea Replace lib/uglifyjs with a submodule.
This brings along a newer version of UglifyJS that fixes some bugs, too.
2011-08-17 13:13:37 -07:00
Mike Bostock
59707f967e Update Makefile test rule and delete lib/env-js. 2011-08-15 16:28:48 -07:00
Jason Davies
7c461b2205 Merge branch 'master' into kde
Conflicts:
	Makefile
	d3.js
	d3.min.js
	src/core/sum.js
2011-07-06 19:54:58 +01:00
Jason Davies
e0a0455f7b Move d3.stats to external lib, science.stats.js! 2011-07-06 18:57:14 +01:00
Nathan Vander Wilt
f74ccb9243 make make work 2011-06-25 17:31:02 -07:00
Mike Bostock
05f58d3a08 Fix a bug in env-js re. insertBefore. 2011-04-09 12:03:52 -07:00
Mike Bostock
96f6374f72 Merge branch 'uglifyjs' of https://github.com/jasondavies/d3 into jasondavies-uglifyjs 2011-04-05 10:22:51 -07:00
Michael Bostock
66c7357cc2 Force -0800 timezone for tests. 2011-03-25 14:03:46 +01:00
Jason Davies
1dfd3350dc Replace Google's closure compiler with UglifyJS.
UglifyJS requires Node.js to run, but it's a lot faster than Google's
compiler and produces smaller gzipped sizes.  Some of the non-gzipped
sizes are a bit larger than Google's but I think the gzipped size is
more important.  Faster runtime is also good when we start testing the
minified versions too.
2011-03-25 10:28:41 +00:00
Jason Davies
ae0cddd9f4 Update google-compiler to 20110119. 2011-03-12 11:32:20 +00:00
Michael Bostock
1be121ae20 Unplug env-js' timer module.
This was breaking setTimeout and setInterval in Node, since I've already
unplugged env-js' event loop. With that out of the way, we can write tests for
transitions!
2011-03-04 16:35:16 -08:00
Michael Bostock
7df63b3cfe Allow env-js to be require'd.
This fixes a bug with the usage of `require` in env-js, such that env-js now
uses proper relative paths rather than unshifting "." onto `require.paths`. The
behavior of `require` is documented here:

  <http://nodejs.org/docs/v0.4.2/api/modules.html#all_Together...>

With this change in place, it's now possible to use env-js simply by require'ing
it from a script, rather than having env-js host and eval.

Also, this commit changes the initialization of env-js, such that the initial
document is immediately available when the env-js module is loaded. And, the
event loop is disabled so that env-js shuts down cleanly. This probably breaks
some parts of env-js, but it makes it much easier to use so I'm going to play
with it a bit.
2011-03-04 13:42:49 -08:00
Michael Bostock
3568ecac2c Fix env-js node 0.4.2 incompatibility.
The `console` global is read-only; it cannot be reassigned.
2011-03-04 11:48:14 -08:00
Michael Bostock
1fe1b466d9 Add lib/env-js. 2011-03-04 11:47:19 -08:00
Michael Bostock
8da80dcc99 Support for Sizzle.
D3 now supports Sizzle, preferring Sizzle to the native Selectors API if Sizzle
is available. Sizzle internally uses the native Selectors API and thus this
should have minimal performance implications; also, it allows you to use Sizzle
proprietary extensions such as ":first".

This commit also restricts the definition of the enter selection so that only
append and insert operations are defined. The other operations were generally
unsupported anyway, and it cleans up the code to have separate implementations
for insert and append. (I might enable additional operations in the future, such
as `filter`, `sort` and `each`, but this seems like a reasonable first pass.)
2011-02-17 11:56:13 -08:00
Michael Bostock
156ff68f16 Move Voronoi & Delaunay code into geom module. 2010-11-07 21:09:59 -08:00
Michael Bostock
bcf37e4a66 Generate Delaunay from Voronoi. 2010-11-07 20:57:25 -08:00
Michael Bostock
ee580489b1 Make Voronoi implementation compile with Closure. 2010-11-07 15:59:40 -08:00
Michael Bostock
56ef531a79 Return closed polygons for Voronoi, rather than edges. 2010-11-06 19:10:50 -07:00
Michael Bostock
603408aa52 Add Voronoi tesselation example. 2010-11-06 17:23:49 -07:00
Mike Bostock
a54574bcf9 Add interactive Albers projection explorer. 2010-11-03 11:19:20 -07:00
Michael Bostock
20fb5a6e6f Add Polymaps license. 2010-11-02 14:48:51 -07:00
Michael Bostock
a4a7613bc8 Add Protovis license. 2010-11-02 14:48:28 -07:00
Michael Bostock
c8799da069 Rewrap colorbrewer/LICENSE. 2010-10-14 10:25:56 -07:00
Michael Bostock
6464020abb Update google-compiler to 20100917. 2010-10-14 10:23:15 -07:00
Michael Bostock
5348d91193 Add lib/colorbrewer. 2010-10-04 20:41:18 -07:00
Mike Bostock
8a722e1241 Add Google Closure Compiler. 2010-09-28 11:25:21 -07:00