Basic and Common Plots

Let’s learn about interactive plotting using Plotly.

Plotly and Cufflinks

There are a number of options for creating graphics in Python. In recent years, a lot of work has gone into developing tools to create interactive graphics. Plotly and Bokeh are commonly used tools for this purpose in Python. Of the two, Plotly is the more popular choice among programmers. It’s also easier to use.

Plotly is an interactive visualization library. Cufflinks binds Plotly directly to pandas dataframes.

Before we learn how to use Plotly, let’s do some imports.

Note: We’re going to do some plotly offline imports. First, make sure that your plotly version is up to date. For offline plotting, we’ll need version 1.9.4 or above. If you’ve installed the current version of this library, you’re good to go.

Get hands-on with 1200+ tech skills courses.