Social Media Research

02 R Data Analysis


Question

What is the difference between a bar chart and a histogram?


Answer

A bar chart represents data in rectangular bars with length of the bar proportional to the value of the variable.

A histogram represents the frequencies of values of a variable bucketed into ranges.

Main difference: Histogram groups the values into continuous ranges.




Comments