It's possible to group chart data by a certain property. You may use group method or group property in a chart constructor.