SELECT CAST(precipitation as INT) as precip, AVG(precipitation)
FROM weather
GROUP BY precip
result
viewofcity=Inputs.select(["Seattle","New York"])
client
SELECT avg(precipitation)
FROM weather
WHERE location == ${city}
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.