Creates a frequency polygon using the raw data. The class boundaries determine the x-coordinates of vertices and are used to determine how many data elements lie in each class. The y-coordinate of a vertex is determined as follows