How do they make an equation that describes a distribution of data?

No.13847746 ViewReplyOriginalReport
So say I collect a whole lot of random samples of something and i get a ton of data. I understand the difference between continuous and discreet distributions but for the life of me cant figure out how the make an equation that fits the distribution of data

pic unrelated