+ 2
What would be the best method to create a graph on a web page?
2 Réponses
+ 4
My first thought was "JS and canvas", but you could also create one with JS and svg...
As you see, the match is between svg and canvas; and honestly, I don't think there's one better than the other: it really depends of your use case.
* svg handle vector graphics, while canvas handle bitmaps.
* js cannot be avoided if you want create the graph dynamically on user (client) side. Else, you could use images, even as vectors (svg is also a standalone file format), pre-computed or dynamically created from server side.
0
Why set and immediatly remove the best answer mark on my answer? :o