Professional Documents
Culture Documents
Data Visualization
Data Visualization
PRESENTED BY
SHAGUN RAI
JEFFREY WILLIAMS
INTRODUCTION
◦ Data visualization in python is perhaps one of the most utilized features for data science with python in
today’s day and age. The libraries in python come with lots of different features that enable users to make
highly customized, elegant, and interactive plots.
◦ In this SESSION, we will cover the usage of Matplotlib, Seaborn as well as an introduction to other
alternative packages that can be used in python visualization.
◦ Within Matplotlib and Seaborn, we will be covering a few of the most commonly used plots in the data
science world for easy visualization.
Useful packages for visualizations in python
◦ Matplotlib
◦ Seaborn
◦ Bokeh
◦ Altair
◦ Plotly
◦ Ggplot
◦ Folium
Pandas
How to use the right visualization?
Bar chart using Matplotlib
◦ #Creating the dataset
◦ df = sns.load_dataset('titanic')
◦ df=df.groupby('who')['fare'].sum().to_frame().reset_index()
◦ plt.barh(df['who'],df['fare'],color = ['#F0F8FF','#E6E6FA','#B0E0E6'])
◦ plt.title('Chart title')
◦ plt.show()
Bar chart using Seaborn
◦ #Creating the dataset
◦ df = sns.load_dataset('titanic')
◦ df=df.groupby('who')['fare'].sum().to_frame().reset_index()
LOREM IPSUM DOLOR SIT AMET, NUNC VIVERRA IMPERDIET PELLENTESQUE HABITANT
CONSECTETUER ADIPISCING ENIM. FUSCE EST. VIVAMUS A MORBI TRISTIQUE SENECTUS ET
ELIT. TELLUS. NETUS.