Frequency distributions and graphs