You are on page 1of 1

setwd("C:/Users/Dell/Desktop/DATA VISUALIZATION")

library(readxl)

> sales_csv <- read_excel("C:/Users/Dell/Downloads/sales.csv.xlsx")

> View(sales_csv)

> sales_csv<-read.csv("sales_csv")

head(sales_csv)

# A tibble: 6 x 3

Year Units Amount

<dbl> <dbl> <dbl>

1 2002 129. 12862.

2 2003 63.7 6373.

3 2004 143. 14336.

4 2005 228. 22838.

5 2006 343. 34335.

6 2007 492. 49190.

plot(H,type = "o", col = "blue", xlab = "year", ylab = "thousands of units",main = "Indias car sales")

>

You might also like