Michael Bostock
ee580489b1
Make Voronoi implementation compile with Closure.
2010-11-07 15:59:40 -08:00
Michael Bostock
ae5d3fbab9
Oops, invert area for clockwise polygons.
2010-11-07 13:53:47 -08:00
Michael Bostock
a502859902
Add d3.geom module.
...
For now, just Sutherland-Hodgman clipping and area of a convex polygon.
2010-11-07 13:49:59 -08:00
Michael Bostock
57059e32a3
Replace previous optimization with filter.
...
It's probably best to assume that if the attr is being set, it's changing, and
therefore we shouldn't check the original value. The caller can now use the
filter operator to optimize, if needed.
2010-11-07 08:53:34 -08:00
Michael Bostock
cfe47b5ad5
Add mouseover interaction to Voronoi example.
...
Also, change svg.mouse so that it returns an array [x, y] rather than {x, y};
this makes it easier to convert to a string, e.g., for SVG's transform
attribute. Also, optimize selection.attr so that it checks the attribute value
before setting the attribute. (I thought it would be slower to check, but
surprisingly it's not!)
2010-11-07 00:12:45 -07:00
Michael Bostock
56ef531a79
Return closed polygons for Voronoi, rather than edges.
2010-11-06 19:10:50 -07:00
Michael Bostock
c73ebe2052
Simplify Delaunay triangulation example.
2010-11-06 17:24:24 -07:00
Michael Bostock
603408aa52
Add Voronoi tesselation example.
2010-11-06 17:23:49 -07:00
Michael Bostock
ba23f28fef
Interactive Delaunay triangulation.
2010-11-06 14:41:04 -07:00
Michael Bostock
46b80565c9
Almost complete strptime & strftime.
2010-11-05 16:23:53 -07:00
Mike Bostock
8fb4ca44b8
Checkpoint d3.time.format.
2010-11-05 11:05:53 -07:00
Michael Bostock
197ff6bd56
Optimize csv.parse slightly.
2010-11-05 00:36:34 -07:00
Michael Bostock
4e6dc7c5a8
Globals in development version need d3_ prefix.
2010-11-05 00:30:23 -07:00
Michael Bostock
6494412aee
Don't include geo in the default build.
2010-11-05 00:25:24 -07:00
Michael Bostock
e1b23445d1
Fix date parsing bug.
2010-11-05 00:19:38 -07:00
Michael Bostock
cd645ec925
Fix a bug in scale.invert. Add svg.mouse.
2010-11-05 00:11:34 -07:00
Michael Bostock
16617a2d51
First pass at zoom example.
2010-11-04 23:10:23 -07:00
Michael Bostock
b2a3262338
d3.csv is now a function, like d3.json.
2010-11-04 22:33:43 -07:00
Michael Bostock
4b0c68f8fc
Add CSV module.
...
It's not part of the standard build, but it's easy to pull in if you want to
use it.
2010-11-04 22:27:21 -07:00
Michael Bostock
3727826d7e
Add a cheesy enter transition.
2010-11-04 20:04:13 -07:00
Michael Bostock
e793ce8800
Scatterplot matrix example.
2010-11-04 19:54:24 -07:00
Michael Bostock
a5ee43345e
Delete cruft.
2010-11-04 19:11:07 -07:00
Michael Bostock
fe073855a4
Load force-directed graph data asynchronously.
2010-11-04 19:09:21 -07:00
Michael Bostock
9f51f46f6f
A simple web server for Chrome.
...
Alas, Chrome is very strict about XHR to local files, even within the same
directory. This commit includes a tiny web server (built on Tornado) so that
Chrome users can easily run the examples out of their local file system.
2010-11-04 19:06:31 -07:00
Michael Bostock
7d2c407d9a
Load choropleth data asynchronously.
2010-11-04 17:56:04 -07:00
Michael Bostock
1d395684f0
Latitude range is [-90, +90].
2010-11-04 17:15:51 -07:00
Michael Bostock
9900d446e5
Add horizon graph example.
2010-11-04 17:13:47 -07:00
Michael Bostock
ef084aaf61
Adopt standard parallels per USGS.
2010-11-04 10:43:47 -07:00
Mike Bostock
a54574bcf9
Add interactive Albers projection explorer.
2010-11-03 11:19:20 -07:00
Mike Bostock
4c1fd11e74
Delete d3.geo.circle.
...
We can use the transform attribute, and it's more obvious.
2010-11-02 23:25:09 -07:00
Mike Bostock
2eda4baf36
Add symbol map, composite Albers projection.
2010-11-02 23:06:32 -07:00
Michael Bostock
657f02ee0a
Tweak color scale to match Nathan's original.
2010-11-02 17:07:51 -07:00
Michael Bostock
758b69ba19
State outlines; breakout AK, HI & PR.
...
I changed the albers API slightly to reduce the number of square brackets.
2010-11-02 16:54:18 -07:00
Michael Bostock
a95efee580
Add rudimentary GeoJSON support (with Albers).
2010-11-02 15:27:45 -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
5c72d2c1c6
Add sort operator.
2010-11-01 23:28:27 -07:00
Michael Bostock
05a255ca9a
Break d3 into {core,scale,svg} modules.
...
Also enable ADVANCED_OPTIMIZATIONS for the Google compiler.
2010-10-30 15:42:11 -07:00
Michael Bostock
b7d391f509
Log ticks.
2010-10-29 23:24:53 -07:00
Michael Bostock
12ef81f0e0
Fix a bug in computing min delay.
2010-10-29 09:58:33 -07:00
Michael Bostock
06189539c8
If multiple nodes match key, exit extras.
2010-10-26 22:48:37 -07:00
Michael Bostock
b772929db9
Add property, call.
...
The `property` action allows the setting of arbitrary properties on selected
element, such as the "value" of a form input. The `call` action invokes the
specified function, being passed the current selection (`this`) and optional
additional arguments. This makes it easier to have functions which define sets
of actions, and then apply those actions to any number of selections, similar
to mixin inheritance.
2010-10-26 15:32:41 -07:00
Michael Bostock
d66522bb3d
If the format type is "d", only accept integers.
2010-10-25 16:03:37 -07:00
Michael Bostock
84e97371ba
Add basic Python-inspired number format.
2010-10-25 00:12:44 -07:00
Michael Bostock
30482ba3be
Fade-in force-directed graph.
2010-10-24 17:24:06 -07:00
Michael Bostock
6739d05a05
Fold src/join into src/selection.
2010-10-24 17:09:32 -07:00
Michael Bostock
d16d06ef36
First pass at some shape utilities.
2010-10-24 17:05:59 -07:00
Michael Bostock
a0f2a670b2
Add categorial color palettes.
2010-10-24 16:15:43 -07:00
Michael Bostock
1901673b06
Fix a bug with concurrent intervals.
2010-10-24 16:03:35 -07:00
Michael Bostock
e25acce124
Consolidate concurrent setIntervals.
2010-10-24 15:27:04 -07:00