Software Alternatives, Accelerators & Startups

Plotly VS p5.js

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

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Plotly logo Plotly

Low-Code Data Apps

p5.js logo p5.js

JS library for creating graphic and interactive experiences
  • Plotly Landing page
    Landing page //
    2023-07-31
  • p5.js Landing page
    Landing page //
    2023-07-22

Plotly features and specs

  • Interactivity
    Plotly offers highly interactive plots that allow users to pan, zoom, and hover over data points for more information. This enhances the user experience and provides deeper insights.
  • High-quality visualizations
    It provides aesthetically pleasing and highly customizable charts, making it suitable for publication-quality visuals.
  • Versatility
    Plotly supports multiple chart types including line charts, scatter plots, bar charts, and 3D plots, making it suitable for a wide range of applications.
  • Python integration
    Plotly is well-integrated with Python and works seamlessly with other popular data science libraries like Pandas, NumPy, and Scikit-learn.
  • Web-based
    The plots can be easily embedded in web applications or dashboards, making it ideal for sharing insights over the internet.
  • Open-source
    Plotly offers an open-source version, which allows users to create and share visualizations without any cost.

Possible disadvantages of Plotly

  • Performance
    Rendering very large datasets can sometimes be slow, which may not be suitable for real-time data visualization requirements.
  • Learning curve
    Even though the library is well-documented, the extensive range of features can have a steep learning curve for beginners.
  • Cost for advanced features
    While the basic functionality is free, more advanced features, such as export to certain formats and additional customizable options, require a paid subscription.
  • Dependency management
    Plotly has a number of dependencies that need to be managed properly, which can sometimes complicate the setup process.
  • Complexity
    For simple visualizations, Plotly might be overkill and simpler libraries like Matplotlib or Seaborn could be more appropriate.

p5.js features and specs

  • Ease of Use
    p5.js simplifies the process of learning and creating interactive graphics with its intuitive syntax, making it accessible for beginners.
  • Web-Based
    As a JavaScript library, p5.js runs directly in the web browser, enabling easy sharing and embedding of interactive sketches online without the need for additional plugins.
  • Creative Coding Community
    p5.js is supported by a vibrant community that shares a plethora of examples, tutorials, and resources, facilitating learning and troubleshooting.
  • Extensibility
    Its modular architecture allows for easy integration with other libraries like p5.sound, p5.dom, and even external JavaScript libraries, enhancing its functionality.
  • Accessibility
    p5.js emphasizes inclusivity, offering features that make it easier to create accessible web content, such as screen reader support.

Possible disadvantages of p5.js

  • Performance
    p5.js may not be as performant as other lower-level graphics libraries or frameworks, which can be a limitation for highly intensive graphical applications.
  • Learning Curve for Advanced Features
    While beginner-friendly, mastering complex features and fine-tuning performance in p5.js can require significant effort and understanding of JavaScript.
  • Not Ideal for Large Projects
    Due to its simplicity and focus on learning and prototyping, p5.js might not be suitable for large-scale, production-grade applications.
  • Limited 3D Support
    Although p5.js offers 3D rendering capabilities, these are less developed and performant compared to dedicated 3D libraries like Three.js.
  • Dependency on JavaScript
    Since p5.js is built on JavaScript, it inherits the language's limitations and quirks, which might be a hindrance for developers accustomed to other programming languages.

Plotly videos

Create Real-time Chart with Javascript | Plotly.js Tutorial

More videos:

  • Review - Introducing plotly.py 3.0
  • Review - Is Plotly The Better Matplotlib?
  • Tutorial - Plotly Tutorial 2021
  • Review - Data Visualization as The First and Last Mile of Data Science Plotly Express and Dash | SciPy 2021

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 Plotly and p5.js)
Data Visualization
100 100%
0% 0
Javascript UI Libraries
0 0%
100% 100
Data Dashboard
100 100%
0% 0
Charting Libraries
55 55%
45% 45

User comments

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

Plotly Reviews

Best 8 Redash Alternatives in 2023 [In Depth Guide]
Plotly is specifically designed for companies who want to build and deploy analytic applications like dashboards using Python, Julia, or R without needing DevOps or Javascript developers.
Source: www.datapad.io
5 Best Python Libraries For Data Visualization in 2023
Plotly is a web-based data visualization toolkit that comes with unique functionalities such as dendrograms, 3D charts, and also contour plots, which is not very common in other libraries. It has a great API offering scatter plots, line charts, bar charts, error bars, box plots, and other visualizations. Plotly can even be accessed from a Python Notebook.
Top 8 Python Libraries for Data Visualization
Plotly is a free open-source graphing library that can be used to form data visualizations. Plotly (plotly.py) is built on top of the Plotly JavaScript library (plotly.js) and can be used to create web-based data visualizations that can be displayed in Jupyter notebooks or web applications using Dash or saved as individual HTML files. Plotly provides more than 40 unique...
5 top picks for JavaScript chart libraries
Plotly is a graphing library that’s available for various runtime environments, including the browser. It supports many kinds of charts and graphs that we can configure with a variety of options.

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 should be more popular than Plotly. It has been mentiond 146 times since March 2021. 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.

Plotly mentions (33)

  • Python for Data Visualization: Best Tools and Practices
    Plotly is perfect for interactive visualizations. You can create interactive charts and graphs that allow users to hover, click, and zoom in. Plotly is also great for web-based visuals, making it easy to share your findings online. - Source: dev.to / about 1 month ago
  • Generative AI Powered QnA & Visualization Chatbot
    Front End: A React application that leverages React-Chatbotify library to easily integrate a chatbot GUI. It also uses the Plotly library to display the charts/visualizations. The generative AI implementation and details are entirely abstracted from the front end. The front-end application depends on a single REST endpoint of the backend application. - Source: dev.to / 3 months ago
  • Build a Stock Dashboard in less than 40 lines of Python code!🤓
    In this tutorial, Mariya Sha will guide you through building a stock value dashboard using Taipy, Plotly, and a dataset from Kaggle. - Source: dev.to / 5 months ago
  • Essential Deep Learning Checklist: Best Practices Unveiled
    How to Accomplish: Utilize visualization libraries like Matplotlib, Seaborn, or Plotly in Python to create histograms, scatter plots, and bar charts. For image data, use tools that visualize images alongside their labels to check for labeling accuracy. For structured data, correlation matrices and pair plots can be highly informative. - Source: dev.to / 11 months ago
  • Python equivalent to power bi/power query?
    For dashboards: - https://plotly.com/ is probably my favourite, but there are others like streamlit, voila and others... Source: over 1 year ago
View more

p5.js mentions (146)

  • Ask HN: Who Are Your Favorite Photography and Generative Coding Artists?
    p5.js is a JavaScript library that I've enjoyed messing with. It's related to Processing. https://p5js.org/. - Source: Hacker News / 2 months ago
  • Art Blocks and the Future of Open Source with Blockchain
    Art Blocks, founded by Erick Calderon in 2020, is a platform that enables artists to create generative art using blockchain technology. It operates on the Ethereum blockchain, leveraging smart contracts to mint unique art pieces as NFTs. The process begins with artists submitting scripts that define the artwork's parameters. Once approved, these scripts generate unique pieces upon purchase, offering collectors a... - Source: dev.to / 2 months ago
  • Rant: state of generative AI in code generation.
    In my experience with AI code generation, in visual projects like UI development or JavaScript based animation (using three.js or p5.js) etc. AI tools work pretty well. - Source: dev.to / 3 months ago
  • Procedural Generation and Noise
    For this most recent assignment we were tasked with contributing a larger feature to an open source project. During my time with the previous assignment I worked on a game engine called Litecanvas, inspired engine by libraries like raylib and p5.js/Processing. - Source: dev.to / 5 months ago
  • Antirez/load81: SDL based Lua programming environment for kids similar to Codea
    Let’s not forget P5js which has a long and esteemed history of helping to teach kids and more to program. It’s browser based so it’s compatible with every OS and requires no install. FOSS with an active community of users and contributors. I personally taught some middle schoolers with zero programming experience how to make interactive monsters in 1 hour. It was awesome! https://p5js.org/. - Source: Hacker News / 6 months ago
View more

What are some alternatives?

When comparing Plotly 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

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

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

RAWGraphs - RAWGraphs is an open source app built with the goal of making the visualization of complex data...

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