Future<List<HistBin<T>>> computeHistogramStream(Stream<T> data) async { final bins = await computeCountsStream(data); return bins.normalize(); }