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.

This exercise is part of the course

Analyzing Marketing Campaigns with pandas

View Course

Exercise instructions

  • Use the .plot() method to visualize the results of date_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.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# 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.____()