But there are many other libraries like seaborn , matplotlib, bokeh available for data visualization. Then, why to choose Plotly?
Advantages of Plotly
- It provides large number of functions to visualize any kind of data .
- It is very simple, user friendly yet flexible.
- It allows you to embed your interactive plots in your project using HTML.
- Plotly also have Plotly Chart Studio where you can directly edit your plots without writing single line of code.
How to make a basic Scatterplot using Plotly and Python ?
Let’s start with making a very basic plot known as Scatterplot. Scatterplot helps in finding the relationship between two variables . It tells us whether the two variables are positively related, negatively related or not related at all.
Note: Last line of code will generate a file named scatterplot-1.html . Then open this file in your web browser . You will see the same output there.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course