Plotly Express

The plotly Python package empowers anyone to create, manipulate and render graphical figures. The figures are represented by data structures referred to as figures. The rendering process uses the Plotly.js JavaScript library under the hood but you never need to use Java directly. Figures can be represented in Python either as dictionaries or as instances of the plotly.graph_objects.

Plotly Express is the recommended entry-point into the plotly package. Plotly Express is the high-level plotly.express module that consists of Python functions which return fully-populated plotly.graph_objects.Figure objects. This module contains functions that can create interactive figures using a very few lines of code.

When importing the module, Plotly Express is refered to as px. It is a built-in part of the plotly library. Plotly Express function uses graph objects internally and returns a plotly.graph_objects.Figure instance.

MINI CHALLENGE #1:

TASK #2: PLOT INTERACTIVE BUBBLE CHART (SCATTERPLOT WITH SIZE)

MINI CHALLENGE #2:

TASK #3: PLOT INTERACTIVE SINGLE LINEPLOT USING PLOTLY EXPRESS

MINI CHALLENGE #3:

TASK #4: PLOT INTERACTIVE MULTIPLE LINE PLOTS USING PLOTLY EXPRESS

MINI CHALLENGE #4:

TASK #5. PLOT INTERACTIVE PIE CHARTS

MINI CHALLENGE #5:

TASK #6: PLOT INTERACTIVE BAR CHART

MINI CHALLENGE #6:

TASK #7: PLOT INTERACTIVE GANTT CHART

Gantt chart is useful for project management. Gantt chart can show the expected completion date of different jobs, and the dependencies between jobs.

MINI CHALLENGE #7:

TASK #8: PLOT INTERACTIVE SUNBURST

MINI CHALLENGE #8:

MINI CHALLENGE SOLUTIONS

MINI CHALLENGE #1 SOLUTION:

MINI CHALLENGE #2 SOLUTION:

MINI CHALLENGE #3 SOLUTION:

MINI CHALLENGE #4 SOLUTION:

MINI CHALLENGE #5 SOLUTION:

MINI CHALLENGE #6 SOLUTION:

MINI CHALLENGE #7 SOLUTION:

MINI CHALLENGE #8 SOLUTION:

GREAT JOB!