ComeçarComece de graça

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.

Este exercício faz parte do curso

Analyzing Marketing Campaigns with pandas

Ver curso

Instruções do exercício

  • 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.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# 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.____()
Editar e executar o código