cleanup the logic to generate the html
add statsum line chart for track
new pull for track's charts