Modified routes for representation and created new service to get data for charts