Software Alternatives, Accelerators & Startups

p5.js VS Chart.js

Compare p5.js VS Chart.js and see what are their differences

p5.js logo p5.js

JS library for creating graphic and interactive experiences

Chart.js logo Chart.js

Easy, object oriented client side graphs for designers and developers.
  • p5.js Landing page
    Landing page //
    2023-07-22
  • Chart.js Landing page
    Landing page //
    2023-03-13

p5.js videos

Processing or p5.js? My opinions

More videos:

  • Review - Q&A #1: Side-Scroller in p5.js
  • Tutorial - 17.11: Sound Visualization: Frequency Analysis with FFT - p5.js Sound Tutorial

Chart.js videos

1.3: Graphing with Chart.js - Working With Data & APIs in JavaScript

More videos:

  • Tutorial - How to Build Ionic 4 Apps with Chart.js

Category Popularity

0-100% (relative to p5.js and Chart.js)
Javascript UI Libraries
74 74%
26% 26
Charting Libraries
36 36%
64% 64
Data Visualization
0 0%
100% 100
3D
100 100%
0% 0

User comments

Share your experience with using p5.js and Chart.js. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare p5.js and Chart.js

p5.js Reviews

20+ JavaScript libraries to draw your own diagrams (2022 edition)
A JS client-side library for creating graphics and interactive experiences, based on the core principles of Processing to make coding accessible to artists, designers and educators. Beyond drawing, this project provides offers web audio functionality, collision detection and even generation of graphical user interfaces from p5.js sketches.
8 Best Free and Open-Source Drawing Libraries in JavaScript
The p5.js library is a great option for people who are looking for a library that doesn't have a steep learning curve, but which can create very complicated systems if necessary. The get started with P5.js page on the official website has a functional example that draws circles wherever you move your mouse in only a few lines of code.

Chart.js Reviews

6 JavaScript Charting Libraries for Powerful Data Visualizations in 2023
Of the free libraries on this list, ECharts has the widest range of chart types available, second only to D3. Unlike D3, ECharts also ranks highly on the user-friendliness scale, although some users find ApexCharts and Chart.js even easier to use. You can check out some examples of basic charts on ECharts.
Source: embeddable.com
5 top picks for JavaScript chart libraries
Chart.js is a chart library that is available as a client-side JavaScript package. There are also derivatives for other frontend frameworks, like React, Vue, and Angular. It displays the chart on an HTML canvas element.
Top 10 JavaScript Charting Libraries for Every Data Visualization Need
Chart.js is a simple yet quite flexible JavaScript library for data viz, popular among web designers and developers. It’s a great basic solution for those who don’t need lots of chart types and customization features but want their charts to look neat, clear and informative at a glance.
Source: hackernoon.com
A Complete Overview of the Best Data Visualization Tools
Chart.js uses HTML5 Canvas for output, so it renders charts well across all modern browsers. Charts created are also responsive, so it’s great for creating visualizations that are mobile-friendly.
Source: www.toptal.com
The Best Data Visualization Tools - Top 30 BI Software
Chart.js is better for smaller chart projects. It’s open source and small in size, supporting six different types of charts: bar, line, pie, radar, doughnut, and polar. You can also add or remove any of these 6 types to reduce your footprint. Chart.js uses HTML5 Canvas and ships with polyfills for IE6/7 support. Chart.js offers the ability to create simple charts quickly.
Source: improvado.io

Social recommendations and mentions

Based on our record, p5.js seems to be a lot more popular than Chart.js. While we know about 136 links to p5.js, we've tracked only 1 mention of Chart.js. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

p5.js mentions (136)

  • Battlesnake Challenge #2 - JavaScript
    JavaScript is everywhere. Not only is JavaScript on every layer of the tech stack (frontend/middleware/backend), but you can also find JavaScript in every software domain. No matter if you want to do command-line tools, creative coding, or machine learning, you can do it in JavaScript. Because JavaScript is so ubiquitous, as a developer it’s the best career choice you can make. - Source: dev.to / 16 days ago
  • Processing Foundation 2024 Software Development Grant (pr05): 'New Beginnings' Open Call
    The Processing Foundation is thrilled to announce the open call for pr05 (pronounced “pros”), a new grant and mentorship initiative designed to support the professional growth of early to mid-career software developers through hands-on involvement in open-source projects. This is a unique opportunity to grow as a developer while making a tangible impact on software projects used by millions of creatives, artists,... - Source: dev.to / 16 days ago
  • How to build an associative graph using React + p5
    I'm using the JavaScript graphics library p5 inside a react component, like so:. - Source: dev.to / 28 days ago
  • Turbo Pascal Turns 40
    Processing (P5) had this: you can select any string of text in its IDE anl search for it in the docs, and if it's one of the built-in functions or constants it will open the associated static html page that came installed with the software, so no internet nor server required. And despite being offline you can still navigate the docs too. This feels a lost basic skill in static site generation these days. It was... - Source: Hacker News / 6 months ago
  • My Google Play Developer account has been terminated
    I thought it could be funny to use the javascript version of it https://p5js.org/ in a web page and then wrap it in a Unity app, since Unity was and is the environment I use for making apps. - Source: Hacker News / 8 months ago
View more

Chart.js mentions (1)

  • Chart library for Svelte?
    Https://chartjs.org works well, but you have to call the update function yourself if you want to do some reactive updates. Source: about 3 years ago

What are some alternatives?

When comparing p5.js and Chart.js, you can also consider the following products

Pixi.js - Fast lightweight 2D library that works across all devices

D3.js - D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS.

Processing - C++ and Java programming at the speed of thought.

Highcharts - A charting library written in pure JavaScript, offering an easy way of adding interactive charts to your web site or web application

Three.js - A JavaScript 3D library which makes WebGL simpler.

Plotly - Low-Code Data Apps