Software Alternatives & Reviews

Chart.js VS p5.js

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

Chart.js logo Chart.js

Easy, object oriented client side graphs for designers and developers.

p5.js logo p5.js

JS library for creating graphic and interactive experiences
  • Chart.js Landing page
    Landing page //
    2023-03-13
  • p5.js Landing page
    Landing page //
    2023-07-22

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

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

Category Popularity

0-100% (relative to Chart.js and p5.js)
Charting Libraries
66 66%
34% 34
Javascript UI Libraries
27 27%
73% 73
Data Visualization
100 100%
0% 0
Data Dashboard
100 100%
0% 0

User comments

Share your experience with using Chart.js and p5.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 Chart.js and p5.js

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

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.

Social recommendations and mentions

Based on our record, p5.js seems to be a lot more popular than Chart.js. While we know about 133 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.

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: almost 3 years ago

p5.js mentions (133)

  • 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 / 5 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 / 7 months ago
  • Repetition can make you loopy!: Intro to JavaScript Loops
    In this last section, I'll be creating some visual examples to show how helpful loops can be. I'll be using p5js, a JavaScript library with functionality for creative coding. That being said, I'll try to give a condensed version of the functions being utilized in the following examples. - Source: dev.to / 9 months ago
  • Ask HN: How to teach a kid of 15 Linux and programming
    > how do I get him learning programming in a fun way? Processing / P5.js can be pretty fun to learn. You use a real programming language to create art and animations. With little code you can get a circle on the screen, then making it move, then following your mouse, then adding other shapes, then changing colour depending on some event… It’s conductive to experimentation and a way to gradually introduce concepts.... - Source: Hacker News / 11 months ago
  • [OC] I created a simple, free waveform and genre visualizer for your top ten Spotify songs, a few samples below and link to the tool in the comments!
    Then I used p5js to create the 'art' itself, really user friendly coding framework with lots of resources online! If you want to get into coding, that is a really great entry point with Daniel Schiffman's coding train videos on YT! Source: 11 months ago
View more

What are some alternatives?

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

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.

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

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

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