+ {data.map((bucket) => {
+ const total = Math.max(bucket.total, 1);
+ const clean = bucket.clean / total;
+ const warned = bucket.warned / total;
+ const flagged = bucket.flagged / total;
+ const error = bucket.error / total;
+ return (
+
+
+ {bucket.hour}
+ {bucket.total} pesan
+
+
+
+ );
+ })}
+