Data is linked to visualisation. Compiles and runs but output is not as expected. Fixing.