4 ms·
There's a huge mismatch between D3 and canvas. D3 is all about binding data to structured documents (i.e. HTML or SVG). Documents are dynamic and interactive, b
by jcromartie 14y ago
There's a huge mismatch between D3 and canvas. D3 is all about binding data to structured documents (i.e. HTML or SVG). Documents are dynamic and interactive, but canvas is fundamentally just a bitmap context. It just doesn't make sense to render D3 to canvas... but you can certainly use any of D3's useful functions for calculating layouts or paths or colors.
- osi 14y agoAnd the original author does just that with cubism - http://square.github.com/cubism/ http://square.github.com/cubism/ built around D3, but canvas rendering for the core graph. D3 is a toolkit. Its great for binding data to vanilla HTML tables!