Data Visualization in R class