Each "day" the simulation draws a random number of customers from a Normal Distribution — a bell-shaped pattern centred on your chosen average (μ). Some days are busier, some quieter. This models the real unpredictability of a coffee shop.
Reading the plot
X-axis — "customers per day": each position is a possible daily count. "8" means "a day where 8 customers visited". These are not time points — they are customer count values.
Y-axis — "frequency (days)": how many simulated days produced that customer count.
Why does the x-axis start at 8 (not 0)? It only shows the range that actually occurred. With mean=20 and σ=5, almost no days will have fewer than 5 customers, so the chart starts where your data starts.
Why does it form a bell curve?
Most days cluster around the average. Very high or very low days are rare. The orange curve shows the theoretical Normal distribution — run enough days and the bars match it closely.
How is profit calculated?
Each customer spends $5 per visit. Daily profit is simply: number of customers × $5. So a day with 20 customers earns $100, a day with 35 customers earns $175. The total profit accumulates across all simulated days, giving you a sense of long-run revenue under uncertainty.
What does variability control?
Low variability = most days close to the average, narrow bell. High variability = wild swings, wide bell. This is what makes the Normal distribution useful for modelling real-world uncertainty.