The plotly Package
Last updated
Was this helpful?
Last updated
Was this helpful?
Plotly is an open-source, interactive graphing library for Python -
First install the package using Pip, if necessary:
To display a new chart, construct it by specifying certain chart configuration options, including the type of chart (e.g. scatterplot), and the data to visualize:
NOTE: after a few seconds, the chart will automatically open in your web browser.
Consult the documentation and examples for a variety of chart customization options.
A pie chart example:
For learning purposes, prefer to construct charts using the which don't require a Plotly account or API key.
See also , which allows you to construct graphs from pandas DataFrames.