In this video, we will learn about another visualization tool: the histogram,
and we will learn how to create it using Matplotlib. Let's start by defining what
a histogram is. A histogram is a way of representing the frequency distribution
of a numeric dataset. The way it works is it partitions the spread of the
numeric data into bins, assigns each datapoint in the dataset to a bin, and then
counts the number of datapoints that have been assigned to each bin. So the
vertical axis is actually the frequency or the number of datapoints in each bin.
For example, let's say the range of the numeric values in the dataset is 34,129.
Now, the first step in creating the histogram is partitioning
the horizontal axis in, say, ten bins of equal width and then we construct the
histogram by counting how many datapoints have a value that is between the
limits of the first bin, the second bin, the third bin, and so on.
#DataVisualizationwithPython #Python #Datavisualzation