Need advice about which tool to choose?Ask the StackShare community!

Plotly.js

358
691
+ 1
69
Shiny

207
221
+ 1
13
Add tool

Plotly vs Shiny: What are the differences?

Plotly and Shiny are both popular tools for creating interactive visualizations and dashboards in data science. While they serve similar purposes, there are key differences between them that make them distinct in their own ways.

  1. Programming Language: The first major difference between Plotly and Shiny is the programming language they are built on. Plotly is primarily built on Python, while Shiny is built on R. This means that users familiar with Python would find Plotly easier to use, while users familiar with R would find Shiny more suitable for their needs.

  2. Data Visualization Library: Another significant difference is the data visualization library that each tool uses. Plotly utilizes its own open-source JavaScript library called Plotly.js for creating interactive charts and graphs. On the other hand, Shiny utilizes the ggplot2 library, which is a popular data visualization library in R. This difference in libraries affects the types of visuals that can be created and the level of customization available to users.

  3. Ease of Use: Plotly and Shiny also differ in terms of ease of use. Plotly is known for its user-friendly interface and intuitive APIs, making it relatively easy for users to create interactive visualizations. Shiny, while powerful, has a steeper learning curve and requires a good understanding of R programming concepts. So, users with minimal programming experience might find Plotly more accessible.

  4. Deployment Options: When it comes to deployment, Plotly offers more flexibility. Plotly charts can be deployed as web applications, embedded within websites, or shared as standalone HTML files. In contrast, Shiny is primarily designed for deployment as web applications using the Shiny Server. This distinction in deployment options can influence the way users choose to share and distribute their interactive visualizations.

  5. Support for Machine Learning: Plotly has more extensive support for machine learning algorithms and tools. It offers features like built-in machine learning dashboards, support for TensorFlow, and integration with popular libraries like scikit-learn and PyTorch. Shiny, while capable of implementing machine learning models, does not have the same level of built-in support and lacks some of the advanced features provided by Plotly.

  6. Community and Documentation: The community and documentation surrounding Plotly and Shiny are also different. Plotly has a large and active community with well-maintained documentation and numerous examples and tutorials available. Shiny, being an R-based tool, benefits from the extensive R community and has its own documentation and resources. However, Plotly's community and documentation are generally considered to be more extensive and comprehensive.

In Summary, Plotly and Shiny differ in the programming language they are built on, the data visualization libraries they use, ease of use, deployment options, support for machine learning, and the size and quality of their respective communities and documentation.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Plotly.js
Pros of Shiny
  • 16
    Bindings to popular languages like Python, Node, R, etc
  • 10
    Integrated zoom and filter-out tools in charts and maps
  • 9
    Great support for complex and multiple axes
  • 8
    Powerful out-of-the-box featureset
  • 6
    Beautiful visualizations
  • 4
    Active user base
  • 4
    Impressive support for webgl 3D charts
  • 3
    Charts are easy to share with a cloud account
  • 3
    Webgl chart types are extremely performant
  • 2
    Interactive charts
  • 2
    Easy to use online editor for creating plotly.js charts
  • 2
    Publication quality image export
  • 8
    R Compatibility
  • 3
    Free
  • 2
    Highly customizable and extensible

Sign up to add or upvote prosMake informed product decisions

Cons of Plotly.js
Cons of Shiny
  • 18
    Terrible document
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Plotly.js?

    It is a standalone Javascript data visualization library, and it also powers the Python and R modules named plotly in those respective ecosystems (referred to as Plotly.py and Plotly.R). It can be used to produce dozens of chart types and visualizations, including statistical charts, 3D graphs, scientific charts, SVG and tile maps, financial charts and more.

    What is Shiny?

    It is an open source R package that provides an elegant and powerful web framework for building web applications using R. It helps you turn your analyses into interactive web applications without requiring HTML, CSS, or JavaScript knowledge.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Plotly.js?
    What companies use Shiny?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Plotly.js?
    What tools integrate with Shiny?
      No integrations found

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Plotly.js and Shiny?
      Highcharts
      Highcharts currently supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types.
      Bokeh
      Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords high-performance interactivity over large or streaming datasets.
      Marvel
      A super simple tool that turns any image (including PSDs) or sketch into interactive prototypes for any device. Powered by Dropbox.
      Matplotlib
      It is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. It can be used in Python scripts, the Python and IPython shells, the Jupyter notebook, web application servers, and four graphical user interface toolkits.
      Storyline
      Storyline makes it easy to create, test & publish Alexa skills in minutes with a visual interface and pre-built templates.
      See all alternatives