transform traffic data in service (copied from index.haml)
create bar chart directive (copied from index.haml)