|
|
|
|
|
by nnnnnick
4840 days ago
|
|
I found quite a few existing SVG based graphing libraries based off d3 or Raphael, and wanted to create something a bit more lightweight - canvas sacrifices interactivity for raw speed. I wanted Chart.js to be dependency free, which has led to a footprint of only ~4.4kb when minified and gzipped, d3 is a lot more complex, and has a gzipped size of about 10x that. It'll have to be up to you whether canvas is the right solution in your use case over SVG! |
|