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:
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?