Question
A dataset with 25,000 records of heights (in inches) and weights (in pounds) obtained in 1993 by a survey of children from birth to 18
A dataset with 25,000 records of heights (in inches) and weights (in pounds) obtained in 1993 by a survey of children from birth to 18 years of age is available at http://wiki.stat.ucla.edu/socr/index.php/SOCR_Data_Dinov_020108_HeightsWeights
We will use a sample of 200 individuals which is displayed as a table. Manually copy the table, paste it to an Excel sheet and save to an "xlsx" or "csv" file named "heights_weights".
Read data from file "heights_weights" and use matplotlib to produce histogram of heights and weights, in separate figures, with 16 bins each.
Include the plot names and labels for the horizontal and vertical axes.
A histogram is a kind of bar plot that gives a discretized display of value frequency. The data points are split into discrete, evenly spaced bins, and the number of data points in each bin is plotted. You can use "hist" method to plot a histogram.
Your histograms should look like the ones displayed below.