sample chart with js