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

ggplot2

27
38
+ 1
0
Plotly.js

280
528
+ 1
68
Add tool

Plotly vs ggplot2: What are the differences?

Developers describe Plotly as "The Web's fastest growing charting libraries". Plotly.js is the only open-source JavaScript library for data visualization in the sciences and engineering. Open-source interfaces to Plotly.js are available for Python, R, MATLAB, and React. On the other hand, ggplot2 is detailed as "A data visualization package for the statistical programming language R". It is a general scheme for data visualization which breaks up graphs into semantic components such as scales and layers.

Plotly and ggplot2 can be primarily classified as "Charting Libraries" tools.

Some of the features offered by Plotly are:

  • Feature parity with MATLAB/matplotlib graphing
  • Online chart editor
  • Fully interactive (hover, zoom, pan)

On the other hand, ggplot2 provides the following key features:

  • Axis titles
  • Tickmarks
  • Margins and points in ggplot2 look cooler

Plotly and ggplot2 are both open source tools. Plotly with 10.8K GitHub stars and 1.26K forks on GitHub appears to be more popular than ggplot2 with 4.04K GitHub stars and 1.51K GitHub forks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of ggplot2
Pros of Plotly.js
    Be the first to leave a pro
    • 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
    • 3
      Webgl chart types are extremely performant
    • 3
      Impressive support for webgl 3D charts
    • 3
      Charts are easy to share with a cloud account
    • 2
      Interactive charts
    • 2
      Publication quality image export
    • 2
      Easy to use online editor for creating plotly.js charts

    Sign up to add or upvote prosMake informed product decisions

    Cons of ggplot2
    Cons of Plotly.js
      Be the first to leave a con
      • 16
        Terrible document

      Sign up to add or upvote consMake informed product decisions

      What is ggplot2?

      It is a general scheme for data visualization which breaks up graphs into semantic components such as scales and layers.

      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.

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

      What companies use ggplot2?
      What companies use Plotly.js?
      See which teams inside your own company are using ggplot2 or Plotly.js.
      Sign up for Private StackShareLearn More

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

      What tools integrate with ggplot2?
      What tools integrate with Plotly.js?

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

      What are some alternatives to ggplot2 and Plotly.js?
      Tableau
      Tableau can help anyone see and understand their data. Connect to almost any database, drag and drop to create visualizations, and share with a click.
      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.
      Base
      The Intelligent Sales Productivity Platform - leveraging Big Data, mobility and real-time computing to give sales teams the tools they need to be successful.
      ApexCharts
      A modern JavaScript charting library to build interactive charts and visualizations with simple API.
      D3.js
      It is a JavaScript library for manipulating documents based on data. Emphasises on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework.
      See all alternatives