Initial code for aggregate chart.