Generic Interactive  Javascript Charts based on a Table