generateTransactions(counter, maxAmount) {
      return Array.from({ length: counter }, (_, index) => ({
        id: index + 1,
        amount: Math.random() * maxAmount,
        hour: Math.floor(Math.random() * 24)
      }));
    }
Generates a set of sample transactions for analysis

This method creates a large dataset of simulated transactions.
Each transaction has a unique ID, a random amount, and a random hour of occurrence.