wired up data to chart