add barchart, checkout the development branch of nvd3
Modify submodule nvd3 to xianhengma/nvd3 for fixing bug in pie chart
change the piechart input format to nvd3 default
Fix bug, js input data