|
|
|
|
|
by dsilver
4442 days ago
|
|
This one actually uses the canvas element instead of svg. Just another awesome thing about D3: it works equally well with both. You can draw svg paths just as easily as you can draw them on a canvas. Cool example of canvas[0] vs svg[1]. The canvas renders heavy animation a bit better. Both are around the same number of lines of code. [0] http://bl.ocks.org/mbostock/9539958 [1] http://bl.ocks.org/mbostock/1062544 |
|