BarChart code from https://jsfiddle.net/matehu/w7h81xz2/ and Code of Toolkit from http://bl.ocks.org/1Cr18Ni9/bfadecc96183c48d13b7b90bcf358a61