link data to chart