I'm writing a small program to draw bar and pie charts. I have a question regarding weights (or frequencies) of values.
If I have the following data:
Typically, what do I plot for the bar of the third value?Code:VAL FREQ 5 1 2 1 3 2* 4 1
Do I plot a single bar of height 6, or two bars of height 3?
If I were two plot two separate bars, what would I plot if the frequency was a fractional number?