Skip to content

Commit 1f98d8c

Browse files
committed
Revert "Update histogram configuration to increase bin size and range for improved data distribution analysis."
This reverts commit b3faf29.
1 parent b3faf29 commit 1f98d8c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ function generateInteractiveHistogram(timeDiffStats, title, filename) {
620620
type: 'histogram',
621621
xbins: {
622622
start: 0,
623-
end: data.reduce((a, b) => Math.max(a, b), -Infinity) + 25,
624-
size: 25
623+
end: data.reduce((a, b) => Math.max(a, b), -Infinity) + 10,
624+
size: 10
625625
},
626626
name: 'Distribution',
627627
marker: {
@@ -700,7 +700,7 @@ function generateInteractiveHistogram(timeDiffStats, title, filename) {
700700
const sortedData = [...data].sort((a, b) => a - b);
701701
702702
// Создаем диапазоны (например, по 10 дней)
703-
const rangeSize = 25;
703+
const rangeSize = 10;
704704
const maxValue = Math.max(...sortedData);
705705
const ranges = [];
706706
const cumulativeCounts = [];

0 commit comments

Comments
 (0)