block by emeeks 2fffa9abe50ac97603c7

Brushable Radial Chart

Full Screen

A modification of Susie Lu’s radial weather plot. This one shows periods of cloudiness, precipitation and freezing temperatures via the bars around the border. It also includes a circular brush that lets you select a band on the radial chart. The selected band is then displayed in a more traditional linear way on the bottom left.

The original readme explains what’s going on with the radial chart:

Weather Plot - New York 2015

In the example we’re looking at historical weather data for New York provided by intellicast.com and wunderground.com. Inspired by weather-radicals.com.

This example uses scales to roll your own radial projection by mapping out the x, y, and r positions. If you are creating a line or an area you can use d3’s convenience functions d3.svg.line.radial and d3.svg.area.radial but this is a method you can use if you want to use different graphical elements in a circular layout.

index.html

d3.svg.circularbrush.js