If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content
Current time:0:00Total duration:7:22
UNC‑1 (EU)
UNC‑1.G (LO)
UNC‑1.G.1 (EK)
CCSS.Math: ,

Video transcript

so let's say you were to go to a restaurant and just out of curiosity you want to see what what the makeup of the ages at the restaurant are so you go around the restaurant and you write down everyone's age and so these are the ages of everyone in the restaurant at that moment and so you're interested in and somehow presenting this somehow visualizing the distribution of the ages because you want to just say well are there more young people are there more teenagers and they're more middle aged people are there more seniors here and so when you just look at these numbers it really doesn't give you a good sense of it it's just a bunch of numbers and so how could you do that well one way to think about it is is to put these ages into different buckets and then to think about how many people are there in each of those buckets or sometimes someone might say how many in each of those bins so let's let's do that so let's do buckets or categories so I like sometimes it's called a bin so the bucket I like to think of it more of as a bucket the bucket and then the number in the bucket the number in the bucket number I'll just write the number it whoops it's then whoops it's the number it's the number in the bucket all right so let's just make buckets let's make them ten year ranges so let's say the first one is ages zero to nine so how many people and let me just define all of the buckets here so the next one is ages 10 to 19 then 20 to 29 then 30 to 39 and 42 49 50 to 59 make sure you can read that properly then you have 60 to 69 and I think that covers everyone I don't see anyone 70 years old or older here so then how many people fall into the 0 to 9 year old bucket well it's going to be 1 2 3 4 5 6 people fall into that bucket how many people fall into the how many people fall into the 10 to 19 year old bucket well let's see 1 2 3 3 people I think you see where this is going what about 22 twenty nine so it's one two three four five people five people fawn to that bucket all right what about 30 to 39 we have one and that's it only one person in that 30 to 39 bin or bucket or category all right what about 42 49 we have one two people two people are in that bucket and then 52 59 so you have one two people two people and then finally finally ages 60 to 69 in a different color 16 to 69 there is one person right over there so this is one way of thinking about how the ages are distributed but let's actually make a visualization of this and the visualization that we're going to create this is called a histogram histogram histogram we're taking data that can take on a whole bunch of different values we're putting them into categories and we're going to plot how many how many folks are in each category how big are each of those how big are each of those categories and actually I wrote histogram a highroad histogram I should have written histogram so a histogram so let's do this all right so on this axis let's see the largest category has six so this is the number number of folks and it's going to go one two three four five six one two three four five six this is the number and on this axis I'm going to make the buckets the buckets and let me scroll up a little bit now that I have my data here I don't have to look at my data set again so I have one bucket this is going to be the zero to nine bucket right over here zero to nine then I'm going to have the three actually let me just plot them but since I have my pen in that color so in zero to nine there are six people zero to nine there are six people so I'll just plot it like that and then we have the ten to nineteen there are three people so ten to nineteen there are three people so I'll do a bar like this then 20 to 29 I have five people 20 to 29 which is going to be this one which it's getting I'm writing too big so 20 to 29 this is going to be this bar there's five people five people there so it'll look like this I should have made the bars wide enough so I could write below them but I've already that train has already left all right all right then 30 to 39 I'll try to write smaller 30 to 39 that's going to be this bar right over here we have one person one person and then we have 40 to 49 we have two people 40 to 49 two people so looks like this order 249 two people almost there 50 to 59 we have two people 50 to 59 we also have two people so that's that right over there this category and then finally 60 to 69 we have one person 60 to 69 we have one person we have one person and what I have just constructed I took our data I took our data I put it into buckets that are kind of representative of the categories I care about zero to nine it's kind of young kids 10 to 19 I guess you could call them adolescents or roughly teenagers although obviously if you're 10 you're not quite a teenager yet and then all the different age groups and then when I accounted the number in each bucket and and I and I plotted it now I can visually get a sense of how are the age is distributed in this restaurant this must be some type of a restaurant that gives away toys or something because there's a lot of younger people maybe it's very family-friendly so every adult that comes in maybe there's a lot of a young adults with with kids and or maybe grandparents up here and they just bring a lot of kids to this restaurant so it gives you a view what's going on here just a lot of kids here a lot fewer senior citizens so once again this is just a way of visualizing things we took a lot of data that can take multiple data points instead of plotting each data point like we might do in a dot plot instead of saying how many one-year-olds are there well there's only one one-year-old how many three-year-olds are they there's only one three-year-old that wouldn't give us much information we just have like these single dots if we were doing a dot plot but it's a histogram we're able to put them into buckets and we're just like hey you know generally between ages zero and nine we have six people and so you see that plot it out just like that and obviously this doesn't apply just to ages of people in the restaurant it applies to all sorts of data that you might want to collect and observe