wrote methods to calculate write the class stats, still need to write for
points
wrote code to render line chart
need to render the tooltip for it properly