Move charting into separate route and data model.