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 ejercicio forma parte del curso
Analyzing Marketing Campaigns with pandas
Instrucciones del ejercicio
- 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.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# 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.____()