diagram-js VS Frappe Charts

Compare diagram-js vs Frappe Charts and see what are their differences.

diagram-js

A toolbox for displaying and modifying diagrams on the web. (by bpmn-io)

Frappe Charts

Simple, responsive, modern SVG Charts with zero dependencies (by frappe)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
diagram-js Frappe Charts
2 2
1,568 14,876
1.8% 0.1%
9.2 3.4
6 days ago 6 months ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

diagram-js

Posts with mentions or reviews of diagram-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-27.

Frappe Charts

Posts with mentions or reviews of Frappe Charts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • Learn SVG with 25 examples – How to code images in HTML
    5 projects | news.ycombinator.com | 7 Dec 2023
    As a frontend dev who also works in UX and graphics from time to time, I find it helpful to be able to do both, looking at SVGs as both a vector graphics format and a human-readable XML. IME the workflow depends more on whether any SVG is meant to be illustrative (like art) or quantitative (like charts) or interactive and animated/mutable (like a game).

    For something like this bell example (https://svg-tutorial.com/svg/bell), you can certainly hand-code it if you're really math-inclined and can estimate the formulas of curves just by looking at them, but for us mere mortals, it's easier to just draw out the curves in a graphics app then export as an SVG. And for things like the ringer (is that what you call it? the orange ball thing at the bottom of the bell that strikes the bell to make the sound), being able to visually draw it on a canvas, change its size, drag it around and play with its colors and dimensions, etc. is really helpful. Figma is fine for simpler graphics, but it's really more of a UX tool than a graphic design tool, and Illustrator is a lot more powerful. Inkscape is a FOSS option.

    In other circumstances, though, manipulating the SVG XML directly is also very helpful. Let's say you want to programatically generate a bar chart. If you have a big dataset, it's going to take a designer forever to manually plot them and change them every time the data changes. But it's easy for a dev to use Javascript (or any language) to draw each rectangle, programmatically adjust their heights and colors based on the data, add tooltips, etc. And that way you can dynamically update them in real-time whenever the data changes (like if the user selects a different date range, or new events come in). A lot of this is made easier by libs like https://frappe.io/charts or https://apexcharts.com. But before you take that approach, you should know that for complex charts, sometimes Canvas rendering (or just generating graphics in the backend) can be more performant than SVG.

    SVGs can also be animated and interactive, not just with CSS transitions but by directly manipulating the XML geometries, like http://snapsvg.io/demos/ or https://www.svgator.com/ or https://codepen.io/collection/XpwMLO/. This is fine for product pages and such, but for really graphics-intensive apps (full games) it's probably slower than other rendering pipelines. (Not my specialty, won't speculate too much.)

    TLDR Drawing them in a graphics app is usually easier for the designers, but the XML can be programmatically manipulated afterward to great effect.

  • [Showoff Saturday] I made a thing that shows you your valorant match stats
    2 projects | /r/webdev | 28 Jan 2023
    charts: https://frappe.io/charts

What are some alternatives?

When comparing diagram-js and Frappe Charts you can also consider the following projects:

DHTMLX Gantt - GPL version of Javascript Gantt Chart

p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —

c3 - :bar_chart: A D3-based reusable chart library

peity - Progressive <svg> pie, donut, bar and line charts

react-vis - Data Visualization Components

d4 - A friendly reusable charts DSL for D3

echarts - Apache ECharts is a powerful, interactive charting and data visualization library for browser

victory-chart - Chart Component for Victory

ilgizar-candlestick-panel - Grafana candlestick panel plugin

chartist-js - Legacy Chartist Repo for old gh-pages

fabric.js - Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser

joint - A proven SVG-based JavaScript diagramming library powering exceptional UIs