├── .gitignore ├── .gitmodules ├── .travis.yml ├── HISTORY.md ├── IfYouRefuseToListen.md ├── LICENSE ├── Makefile ├── README.md ├── examples ├── area │ ├── area.html │ └── data.tsv ├── bar │ ├── bar.html │ └── data.tsv ├── chord.html ├── cluster │ ├── cluster.html │ └── flare.json ├── d3_examples │ └── line │ │ ├── line-defined.html │ │ ├── line-radial-defined.html │ │ ├── line-radial.html │ │ └── line.html ├── donut │ ├── data.csv │ └── donut.html ├── gears.html ├── grouped_bar │ ├── data.csv │ └── grouped_bar.html ├── line │ ├── data.tsv │ └── line.html ├── multiseries │ ├── data.tsv │ └── line.html ├── pie │ ├── data.csv │ └── pie.html ├── quartz │ ├── data.csv │ └── quartz.html ├── scatterplot │ ├── data.tsv │ └── scatterplot.html └── stacked_bar │ ├── data.csv │ └── stacked_bar.html ├── lib ├── compat │ ├── compat.js │ └── json3.min.js └── sizzle │ └── sizzle.js ├── package.json ├── r2d3.js ├── r2d3.min.js ├── src ├── compat │ └── style.js ├── core │ ├── README.md │ ├── format.js │ ├── selection-append.js │ ├── selection-classed.js │ ├── selection-on.js │ ├── selection-style.js │ ├── selection-text.js │ ├── selection.js │ ├── transform.js │ ├── transition-style.js │ └── xhr.js └── raphael │ ├── element.js │ └── raphael.js └── tests ├── core ├── append-tests.js ├── attr-tests.js ├── group-tests.js ├── selection-classed-tests.js ├── selection-remove-tests.js ├── selection-tests.js ├── style-tests.js ├── text-tests.js └── transform-tests.js └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | //vim swap files 3 | *.swp 4 | //vim Session files 5 | Session.vim 6 | node_modules/ 7 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "lib/d3"] 2 | path = lib/d3 3 | url = git://github.com/mbostock/d3.git 4 | [submodule "lib/raphael"] 5 | path = lib/raphael 6 | url = git://github.com/DmitryBaranovskiy/raphael.git 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.6 5 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.2.0 / 2013-04-?? 2 | ================== 3 | 4 | * Add support ```selection.classed```. [Bug 57](https://github.com/mhemesath/r2d3/issues/57) 5 | * Handle R2D3Elements in insertBefore. [Bug 84](https://github.com/mhemesath/r2d3/issues/84) 6 | * Remove raphael elements from children dom nodes when removing a dom node. [Bug 89](https://github.com/mhemesath/r2d3/issues/89) 7 | * Don't attempt to initialize raphael node when events are attached. 8 | * Return empty string when converting null SVG transforms to Raphael transforms. 9 | * Redrawing text elements throws an exception in IE8. [Bug 109](https://github.com/mhemesath/r2d3/pull/110). Thanks @sbshetty01! 10 | * Added support for polygon/polyline. [Bug 108](https://github.com/mhemesath/r2d3/pull/108). Thanks @tianon! 11 | 12 | 0.1.1 / 2013-03-18 13 | ================== 14 | 15 | * Patch d3 compat/style. [Bug 83](https://github.com/mhemesath/r2d3/issues/83) 16 | 17 | 0.1.0 / 2013-03-17 18 | ================== 19 | 20 | * Updated D3 to 3.0.8 21 | * Updated examples to match v3.0.8 22 | * Refactor R2D3 to use wrapper for DOM and Raphael objects. 23 | * Cache SVG to Raphael transform Strings 24 | * Change R2D3 reference on DOM nodes to be more direct 25 | * Move Raphael paper extensions to R2D3 element wrapper. 26 | * Enable setting SVG height/width via css -------------------------------------------------------------------------------- /IfYouRefuseToListen.md: -------------------------------------------------------------------------------- 1 | r2d3 2 | ============== 3 | 4 | About r2d3 5 | ========== 6 | 7 | R2D3 is a customized build of D3 powered by [RaphaelJS](http://raphaeljs.com/). The combination of D3 and Raphael enable developers to easily 8 | build data visualizations that work in IE7+ and all modern browsers. 9 | 10 | 11 | Updating to v0.1.0 (2013-3-17) 12 | ------------------------------ 13 | 14 | * R2D3 now using v3.0.8 of D3. Update your code accordingly. 15 | * The ``` 30 | 31 | 32 | 33 | 34 |
35 |