Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to Data Visualization with Matplotlib!
You have completed Introduction to Data Visualization with Matplotlib!
Preview
Histograms are used to show distributions of data. Let's explore the Iris data set with this chart style.
Further Reading
- Matplotlib style sheets
- Number of bins and widths for histograms
- Freedman-Diaconis rule for Histogram Bin widths
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
spread out a variable is.
0:00
The area of the rectangles in
a histogram is proportional
0:00
to the frequency of the variable.
0:03
This allows for
0:05
the rough assessment of the probable
distribution of a given variable.
0:06
The rectangles or
0:10
bins in a histogram, are important to
consider when doing data visualization.
0:11
Both the number of overall bins and
0:16
the bin width can have an impact on
the overall presentation of data.
0:18
From our iris data set let's generate
a histogram chart to see the distribution
0:23
of petal length.
0:27
Let's examine the petal lengths
of the iris virginica class and
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up