(This example contains server-side code. You need to run it from our WebVis lab rather than bl.ocks.org in order to use it.)
This example lets you compare one entire year of weather data with another one using two weather wheels. You can choose which year to display, and which weather station (by choosing a country and then a city).
You can zoom in either views by using your mouse wheel or touch gestures.
Each day of the year is assigned a circular slice of the diagram, proceeding clockwise. For each day, several measures are depicted:
- Temperature: The inner, colorful ring represents the temperature of the day in Celsius degrees. The color is tied to the mean temperature (red is hot, yellow and green are warm, blue is cold), while the extent of the bar ranges from the minimum (near the center) to the maximum temperature (away from the center). Reference lines depicts -20°, 0° and 20°.
- Cloud cover: The gray ring depicts cloud cover (in eighth). The taller the bar, the more the sky was covered that day.
- Precipitation: “Falling down” from the cloud ring, blue bars can sometimes appear when a certain amount of precipitation has been recorded. The more millimiters have fallen, the taller the bar. Reference lines indicate 20mm and 40mm.
- Wind: The outer spikes are proportional to the mean wind speed for the day. The reference line indicates 20 Km/h. A small tail is also depicted to show the wind’s direction in degrees.
The design has been heavily determined by reverse engineering this beautiful work by Raureif. Data is requested live from the Weather Underground Historical APIs.