A collection of resources and notebooks for working in and getting starting with matplotlib and seaborn library in Python.
Matplotlib and Seaborn are two popular data visualization libraries in Python. Matplotlib is a plotting library that provides a high-level interface for producing a variety of plots. Seaborn, on the other hand, is a higher-level library built on top of Matplotlib that provides a more intuitive interface and better visualization style.
While both Matplotlib and Seaborn provide similar functionality Seaborn provides a more intuitive and aesthetically pleasing approach to data visualization, while Matplotlib provides more control over the plot's appearance and flexibility in customizing the plot.
I naturally lean towards using matplotlib often as I am familair with the syntax and customisability - however using Seaborn really does neaten up the code and allow you to effectively create powerful visualisations in fewer steps.
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
A look at all the basic tools and methods in pandas - most of which I commonly use in data analysis.
A look at all the some more advanced visualization capabilities from matplotlib.
Seaborn is a Python data visualization library based on matplotlib. It provides a high-level interface for drawing attractive and informative statistical graphics
A look at all the basic tools and methods in seaborn - most of which I commonly use in data analysis.
We look at pandas for plotting data. We cover very elementary charts and graphics and some options for these plots.
We go through and explore the titanic data set using matplotlib and seaborn for data visualisation. Some data manipulation takes place, but we try to keep this to a minimum.
We go through and explore the housing data set using matplotlib and seaborn for data visualisation. Some data manipulation takes place, but we try to keep this to a minimum.
The work is best used in a code editor or online editor like Google Colab - linked below. Play around with the tools, download different data sets, try new things - get comfortable.
A list of datasets to play around and visualize with matplotlib;
-
- This dataset contains information about the passengers on the Titanic, including their age, gender, class, fare, and survival.
-
- This dataset contains information about patients with diabetes, including their age, blood pressure, body mass index, and 6-year risk of developing diabetes.
-
- This dataset contains information about housing prices in the Boston area, including the average number of rooms per dwelling, the crime rate, the age of the buildings, and other variables.
-
- This dataset contains information about the stock market, including stock prices, volume, and other variables