Fork on GitHub

Plotly API

< Back to Main API Page

Interactive, publication-quality plots in your web browser

Quickstart

Installation

Initialization

Authentication

New User - Sign Up

You can sign up on with Plotly's online GUI or through the API:

Existing User - Generate API Key

Existing users display or reset their API key here. You will be prompted to log-in if you aren't already.

Display Key
Reset Key

Your key will display here.

Documentation Examples

Search for an example, or explore the links below!

Chart Types

Line and Scatter

Area Plots

Bar Charts

Error Bars

Box Plots

Histograms

Bubble Charts

Heatmaps

Text Charts

Mixed Types

Time Series

Multiple Axes, Insets and Subplots

Multiple Axes

Subplots

Insets

Layout

File Settings

Basic Line Plot

Basic Line Plot

Line with Scatter

Line with Scatter

Styling Line and Scatter

Styling Line and Scatter

Basic Area Plot

Basic Area Plot

Basic Bar Chart

Basic Bar Chart

Grouped Bar Chart

Grouped Bar Chart

Stacked Bar Chart

Stacked Bar Chart

Styling Bar Charts

Styling Bar Charts

Basic Error Bars

Basic Error Bars

Percentage, Constant or Square Root

Percentage, Constant or Square Root

Bar Chart with Error Bars

Bar Chart with Error Bars

Basic Box Plot

Basic Box Plot

Box Plot with Jitter

Box Plot with Jitter

Basic Histogram

Basic Histogram

Stacked Histogram

Stacked Histogram

Overlaid Histogram

Overlaid Histogram

Styling Histograms

Styling Histograms

2D Histogram

2D Histogram

2D Histogram Options

2D Histogram Options

Basic Heatmap

Basic Heatmap

Labelled Heatmap

Labelled Heatmap

Bar Chart with Line Plot

Bar Chart with Line Plot

2D Histogram with Scatter Overlay

2D Histogram with Scatter Overlay

Legend Visibility

Legend Visibility

Legend Position Inside

Legend Position Inside

Legend Position Outside

Legend Position Outside

Styling the Legend

Styling the Legend

Legend Labels

Legend Labels

Basic Text Chart

Basic Text Chart

Styling Text Charts

Styling Text Charts

Axes Booleans

Axes Booleans

Linear and Log Axes

Linear and Log Axes

Manual Range

Manual Range

Range Mode

Range Mode

Axes Lines

Axes Lines

Axes Ticks

Axes Ticks

Axes Labels

Axes Labels

Reversed Axes

Reversed Axes

Date Axes

Date Axes

Simple Double Axes

Simple Double Axes

Simple Multiple Axes

Simple Multiple Axes

Simple Subplot

Simple Subplot

Custom Sized Subplot

Custom Sized Subplot

Multiple Subplots

Multiple Subplots

Subplots with Shared Axes

Subplots with Shared Axes

Stacked Subplots

Stacked Subplots

Stacked Subplots with Coupled X-Axis

Stacked Subplots with Coupled X-Axis

Simple Inset

Simple Inset

Plot and Margin Size

Plot and Margin Size

Global Font

Global Font

Titles, Axes Names and Trace Names

Titles, Axes Names and Trace Names

Simple Annotation

Simple Annotation

Multiple Annotations

Multiple Annotations

Styling Annotations

Styling Annotations

Simple Bubblechart

Simple Bubblechart

Private Graph

Private Graph

Public Graph

Public Graph

File Naming

File Naming

Data Visibility

Data Visibility

New Graph

Overwrite

Append

Extend

Setting Style

Setting Layout

File Sharing

IFrames

Formal Syntax