Temperature in Different Cities
A multi-line chart shows temperature readings across seven cities—San Francisco, Bangalore, Boston, Geneva, Rio de Janeiro, Shanghai, and Singapore—for one week in 2015. Each city’s hourly data appears as a distinct colored line, with the full legend displayed. The visualization is rendered with Vega-Lite embedded through `vegaEmbed`, using a dynamic width and height that recomputes on window resize. The code loads CSV data via `d3.csv` from the Sense Your City project and styles line strokes with blend modes.
AI-generated descriptionLine chart for one week in 2015.
Draws from
- News Source by Age Grouped Bar Chart for Vega-Lite setup.
- Vega-Lite: Trellis Area Example
Also related - Vega-Lite GitHub Issue: Specify Label Width for Facet
Data: a week of rich sensor data collected by the "Sense Your City" project.
Contains:
- Hourly readings for one week
- Different cities: San Francisco, Bangalore, Boston, Geneva, Rio de Janeiro, Shanghai, Singapore
- Various mertics from sensors: temperature, light, air quality, sound, humidity, dust
The data was collected from the (now defunct) Data Canvas - Sense Your City Project. The data was filtered using the data processing script found in GitHub: curran/data/senseYourCity.