Fixed JSON conversion so that numbers are numbers.

Old JSON saved numbers as strings which prevented D3 from scaling on numbers >10.
Added optional parameters for barHeight and paddingLeft.
Starting to experiment with pie charts.