Visualizing daily marketing reach
In the previous exercise, you created a daily_users
DataFrame, which contained the number of users who subscribed each day. While this was a great first step, it is challenging to interpret daily trends by looking at a table. To make it easier for you and your business stakeholders to notice subscriber trends, you will visualize your results using a line plot.
Diese Übung ist Teil des Kurses
Analyzing Marketing Campaigns with pandas
Anleitung zur Übung
- Use the
.plot()
method to visualize the results ofdate_served
. - Add the title
'Daily users'
and the y-axis label'Number of users'
. - Rotate the x-axis labels by 45 degrees.
- Display the plot.
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Plot daily_users
daily_users.____
# Include a title and y-axis label
plt.____('____')
plt.____('____')
# Rotate the x-axis labels by 45 degrees
plt.____(____)
# Display the plot
plt.____()