Feature/barcharts

D3 complains of NaN when trying to update the temporal (but not the areal) graph. I've looked at the data which is getting passed to it and I can't figure out where that NaN is coming from.

A second pair of eyes would be much appreciated.
There are several places in this code that can use some spaces around operators.