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
- Python for Data Science Series - Part 1
- Python for Data Science Series - Part 2
- Using Numpy in Python
- Using Pandas in Python
- Data Visualization using Matplotlib Python
- Parsing XML file in python
- 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.
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()
Comments
Post a Comment