retrieved original heatchart approach to retain the random data generation capibility that was deleted during the refactor of 2013