DD/Raji: Removed hardcoding and made chart change with answer submit