Open drecodeam opened 11 years ago
@flyankur do you understand this project : https://github.com/wrobstory/vincent and this http://trifacta.github.io/vega/ to go along with it. It looks pretty cool to me.
Looks great. First look at example - it seems easy & apt.
@flyankur ya but going ahead with vincent means making the stuff in the backend and not the frontend. This gives us one flexibility of rendering png's directly, really easing it out for us on the mobile side as we just need to render the images. No responsive issues, no interactivity, plain and simple images... Makes it easier.
But on the second hand, it makes us really difficult to add interactivity to something that has not been generated on the frontend.
on how to use vega : https://github.com/trifacta/vega/wiki/Runtime
Gotta go with this. So after going through a lot of stuff online, here is the final kamehaha :
I like how you can just switch between SVG and PNG renderers. Also, it makes a reference to Pulp Fiction. +1
https://github.com/adobe-webplatform/Snap.svg & http://snapsvg.io/ definitely changes things :)
Seeing the browser Support of SVG, I think we are good to go with D3.js as of now. If any issue arises after testing it in mobile, we might switch to fallback Raphael.
It's not gonna be supported in IE 8