Draw daily visits by date and, on the same chart, the 7-day rolling average. Label them Daily and 7-day average, add a legend and the title Website visits.
import pandas as pd
days = pd.date_range("2025-01-06", periods=56, freq="D")
pattern = [520, 540, 530, 560, 610, 380, 340]
visits = pd.DataFrame({
"date": days,
"visits": [pattern[i % 7] + 6 * i for i in range(56)],
"signups": [round((pattern[i % 7] + 6 * i) * 0.04) for i in range(56)],
})
import matplotlib.pyplot as pltDraw the chart. It is checked on what it shows: the data, the title and axis labels, the legend and the category names. Size and fonts don't matter.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.