tying chart back into data