Project 28: Traffic Trend Line Chart
Data Analyst
Builds on these lessons
Current Task
Objective
.plot(kind='line') is the default chart type for a Series — ideal for visualizing a trend over time.
Task: plot a traffic Series as a line chart and print its .describe() summary.
index.py
import pandas as pd
traffic = pd.Series([120, 340, 290, 500, 410])
ax = traffic.plot(kind='line', title='Daily Traffic')
print(traffic.describe())
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview