
Member-only story
Histograms
I don’t know what Histograms are and at this point am too afraid to ask.
Well what are they ?
Let's start with a dataset of some things, importantly said data should have some differences, else well there's nothing to compare.So the preliminary answer is that a histogram should give us some insights into those differences and even tell us if there are differences at all...
Data
Let’s say you are sitting at a coffee shop like the one I am at right now and you can see outside into a busy pedestrian street, to keep things simple let’s count the shirt color of the first 100 folks that wander by…

And here are the 100 shirts in the order they were observed :

At a glance we can "sort of"
conclude that black shirts are popular followed by blue and white ones while orange and yellow shirts are not that common… We can do better than "sort of"
by counting each color and thus transforming our observations into numerical data, we can then rearrange the previous image and get better insights…

So we can now say categorically that we observed more black shirts than any other color (twice as many as the runner up color blue), you can even rank them if you are interested in listing them by number of occurrences in an orderly way, what we are showing here is the frequency ( how often any one color appears in our sampling ) of shirt color and while not technically a histogram ( it is a visualization of categorical variables ) it get’s us closer.
Hi there, all my content is free for Medium subscribers, if you are already a subscriber I wanted to say thank you ! 👋 🎉If not and you are considering subscribing, you can use my…