Skip to content

Commit b3faf29

Browse files
committed
Update histogram configuration to increase bin size and range for improved data distribution analysis.
1 parent 3923c95 commit b3faf29

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) + 10,
624-
size: 10
623+
end: data.reduce((a, b) => Math.max(a, b), -Infinity) + 25,
624+
size: 25
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 = 10;
703+
const rangeSize = 25;
704704
const maxValue = Math.max(...sortedData);
705705
const ranges = [];
706706
const cumulativeCounts = [];

0 commit comments

Comments
 (0)