ComenzarEmpieza gratis

Visualize daily conversion rate

Now that your formatted the data into a more manageable format for visualization, you will proceed to create a line chart. Strong visualization skills are crucial for a data scientist because it will allow you and your marketing stakeholders to derive deeper insights from the data. In this case, creating a line plot will make it much easier to notice peaks and valleys in our conversion rate over time as well as any overall trends.

Este ejercicio forma parte del curso

Analyzing Marketing Campaigns with pandas

Ver curso

Instrucciones del ejercicio

  • Create a line chart using the daily_conversion_rate DataFrame.
  • Set the y-axis of your chart to begin at 0.
  • Display the chart.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Create a line chart using daily_conversion_rate
daily_conversion_rate.____

plt.title('Daily conversion rate\n', size = 16)
plt.ylabel('Conversion rate (%)', size = 14)
plt.xlabel('Date', size = 14)

# Set the y-axis to begin at 0
____

# Display the plot
____
Editar y ejecutar código