Saturday , December 5 2026

Data Visualization

Real Stock Data Plotting using Matplotlib

Real Stock Data Plotting using Matplotlib

Updated: 28 November 2026Level: IntermediateReading time: about 10 minutesMatplotlib · pandas · yfinance In this project you will download real historical stock prices and visualise them: closing price, moving averages and trading volume. It brings together pandas and Matplotlib on real data. Prerequisites Matplotlib basics and pandas.pip install yfinance pandas …

Read More »

Sub Plot using Matplotlib

Sub Plot using Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 7 minutesMatplotlib 3.8+ Subplots put several charts in one figure, so you can compare them side by side. This is standard in data analysis reports and when checking model results. Prerequisites Introduction to Matplotlib. A Grid of Charts Example import matplotlib.pyplot as plt …

Read More »

Histogram using Matplotlib

Histogram using Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 7 minutesMatplotlib 3.8+ A histogram shows the distribution of a numeric variable: how many values fall into each range (bin). It answers questions like “Are most students scoring between 60 and 80?” and helps spot skew and outliers before modelling. Prerequisites Introduction to …

Read More »

Stack Plot using Matplotlib

Stack Plot using Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 5 minutesMatplotlib 3.8+ A stack plot (stacked area chart) shows how several parts add up to a total over time, for example hours spent on different activities each day. Prerequisites Introduction to Matplotlib. Stack Plot Example import matplotlib.pyplot as plt days = [1, …

Read More »

Scatter Plot using Matplotlib

Scatter Plot using Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 6 minutesMatplotlib 3.8+ A scatter plot shows each data point as a dot, revealing the relationship between two numeric variables, such as study hours and marks. It is one of the most important charts in machine learning. Prerequisites Introduction to Matplotlib. Basic Scatter …

Read More »

Pie Plot using Matplotlib

Pie Plot using Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 5 minutesMatplotlib 3.8+ A pie chart shows how a whole is divided into parts. Use it only for a few categories that add up to 100%. Prerequisites Introduction to Matplotlib. Basic Pie Chart Example import matplotlib.pyplot as plt labels = ['Python', 'ML', 'DL', …

Read More »

Bar Plot using Matplotlib

Bar Plot using Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 7 minutesMatplotlib 3.8+ Bar charts compare values across categories, such as sales per region or students per course. Prerequisites Introduction to Matplotlib. Vertical Bar Chart Example import matplotlib.pyplot as plt courses = ['Python', 'ML', 'DL', 'NLP'] students = [120, 95, 60, 45] fig, …

Read More »

Introduction to Matplotlib

Introduction to Matplotlib

Updated: 28 November 2026Level: BeginnerReading time: about 10 minutesMatplotlib 3.8+ Matplotlib is Python’s main plotting library. pandas and Seaborn charts are built on top of it. In this tutorial you will draw your first line chart and learn how to add titles, labels, legends, colors and grids. What You Will …

Read More »