Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing svg.js vs Paths.js, the Slant community recommends svg.js for most people. In the question“What are the best JavaScript drawing libraries?” svg.js is ranked 11th while Paths.js is ranked 21st. The most important reason people chose svg.js is:
Only 11k
Ranked in these QuestionsQuestion Ranking
Common Questions
Pros
Pro Small library
Only 11k
Pro Pure SVG library
Pro Modular structure
Pro Actively Maintained
Pro Clear and detailed documentation
Pro Just helps building graphs, complements template engines or data-binding libraries
Can be used together with a template engine such as Mustache or Handlebars to display SVG graphics or instead of a static template engine, you can use a data binding or MVC/MV* library, such as Ractive.js, Angular, Mithril or Facebook React.
Pro 3 APIs for the price of one
3 APIs of increasing abstraction:
- Low-level (svg paths)
- Basic shapes (Polygon, Rectangle, Bezier, Sector, Connector etc..)
- Basic graphs (Pie, bar, stock, radar, tree, waterfall, sankey etc...)
There is no magic, you can have as much control as you want on how you define your graphs, source code very readable.
Pro Lightweight
18kb minified.
Cons
No cons yet!
No cons yet!