From the course: Data Visualizations with Plotly

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Getting started with Plotly

Getting started with Plotly - Plotly Tutorial

From the course: Data Visualizations with Plotly

Start my 1-month free trial

Getting started with Plotly

- [Instructor] Before we can take full advantage of all the exciting visualizations Plotly has to offer, let's spend some time to get set up. Throughout this course we'll be using Plotly version 4.1 2.0, so be sure to install this specific version, either via PIP or Conda as seen here. There are features we'll use which are a part of recent updates. Now to get started with Plotly we'll import plotly.express as PX. Plotly Express has several built in datasets that we'll take advantage of throughout this course, these are callable with the data package. Each dataset has different attributes that are best suited to different visualization types. We'll be using the Gapminder, Iris, and Tips datasets. We'll use the gapminder dataset and we could subset the data by using query to only return data for New Zealand, this returns a pandas dataframe containing demographic information for five year increments starting in 1952.…

Contents