Let’s add a graph on the screen.
- After declaring the variables, add the command
keks.plot(firstDayUsers, secondDayUsers, thirdDayUsers, expectedUsers);.
Muffin started to run its video blog with the hyped-up name “Videoblob”. He talks about food for cats, technique for sudden jumps off the wall, about clever methods of catching flies and hunting after birds from the windowsill.
Muffin wants to know if his content is interesting for other cats, because video blogging takes a lot of effort. That’s why he started a visitor counter.
You need to write a program that will help Muffin evaluate his traffic. On different days, a different number of people can visit the blog, but the main thing is that the average number of visits at first does not fall below 1,000. If traffic falls, you will need to send a notification to Muffin.
Muffin already sent you data on traffic for the first three days, and they are written into variables. The recommended average traffic value is stored in the variable
To track blog popularity and traffic growth dynamics, Muffin bought from third-party developers a program that draws values on a graph. You can start this program with a special command
The team builds the graph based on all the transferred parameters, except the last one. The last value is drawn with a horizontal line so that it is possible to estimate how far each of the points in the graph deviates from the recommended value.