Better use of colorbrewer
Refactor top chart directive
Fix commits_per_day