Hacker News new | past | comments | ask | show | jobs | submit login

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.



And the original author does just that with 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!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: