rudimentary aggregation with chart in place