Tutorial for R visualization