Permalink
Browse files

Initial import.

  • Loading branch information...
0 parents commit 52c0b1ade665321e4f84df2f4065746a347bc51c @jasondavies committed Feb 8, 2012
Showing with 5,284 additions and 0 deletions.
  1. +26 −0 LICENSE
  2. +15 −0 README.md
  3. +381 −0 d3.layout.cloud.js
  4. +32 −0 examples/simple.html
  5. +26 −0 lib/d3/LICENSE
  6. +4,762 −0 lib/d3/d3.js
  7. +42 −0 test/test.js
@@ -0,0 +1,26 @@
+Copyright (c) 2012, Jason Davies.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * The name Jason Davies may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL JASON DAVIES BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,15 @@
+# Word Cloud Layout for D3
+
+This is a Wordle-inspired word cloud layout written in JavaScript. It uses
+HTML5 canvas and sprite masks to achieve near-interactive speeds.
+
+See [here](http://www.jasondavies.com/wordcloud/) for an extensive
+demonstration along with implementation details.
+
+## Usage
+
+See the samples in `examples/`.
+
+This layout is similar to
+[d3.layout.force](https://github.com/mbostock/d3/wiki/Force-Layout), in that
+it’s *asynchronous* and *stateful*.
Oops, something went wrong. Retry.

0 comments on commit 52c0b1a

Please sign in to comment.