Interactive Data Visualization using Plotly in Python

Hello all,

This is the eighth article in the series Python for Data Science. If you are new to this series, we would recommend you to read our previous articles

  1. Python for Data Science Series - Part 1
  2. Python for Data Science Series - Part 2
  3. Using Numpy in Python
  4. Using Pandas in Python
  5. Data Visualization using Matplotlib Python
  6. Parsing XML file in python
  7. Parsing Json file in python


To install plotly in your python environment, please use the below command

pip install plotly


Please refer the videos below for detailed explanation on plotly


After you have installed plotly, please refer the following notebook to understand on how to use its  functionalities.




In [4]:
import plotly
import os
import plotly.graph_objects as go
main_folder_path = r"E:\openknowledgeshare.blogspot.com\Python\Outputs"
fig = go.Figure(data=go.Bar(y=[2, 3, 1]))
plotly.offline.plot(fig, filename=os.path.join(main_folder_path,"plotly_bar_chart.html"))
fig.show()
In [ ]:
 

Comments

Popular posts from this blog

How to run Jupyter Notebooks in Cloud

How to download , install and configure Anaconda - Python

Project: Implementation of Label Editor