CityPulse gives you daily PM2.5 readings: a CSV on standard input with columns date,district,pm25.
Build an Altair chart titled "Daily PM2.5 by district": mark_line(point=True), x = date (temporal), y = mean(pm25) (quantitative), colour = district (nominal), with a tooltip. Do not render it — inspect its specification with chart.to_dict() and print:
mark: line
x: date as temporal
y: mean(pm25) as quantitative
color: district as nominal
rows: 12 | districts: 3 | days: 4
highest mean: Lucheng (51.5)
lowest mean: Longwan (28.5)
(aggregated fields are written mean(pm25); means with 1 decimal.)