Skip to main content
100%

Temperature in Different Cities

✓ Published5🌍 Public
CCurran Kelleher
Last edited Jul 1, 2019
Created on Jun 24, 2019
Forked from Moon Calendar 2024

This visualization displays one week of hourly temperature readings from seven cities as a small multiples area chart, with each city in its own row. The example intentionally demonstrates ineffective data-encoding choices: color carries no meaningful information, the area under each curve has no interpretable value, and comparing trends across rows is visually difficult. The chart is built using Vega-Lite specifications rendered via vega-embed, with D3 v4 handling data loading and responsive window resizing. The dataset originates from the now-defunct Sense Your City project.

AI-generated description

Small multiples area chart for one week in 2015.

This is an example of how not to visualize data:

  • Color is meaningless
  • Area under the curve is meaningless
  • It's difficult to compare across area charts

Draws from

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.

MIT Licensed

Similar vizzes