RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

Prabanjan

Prabanjan

Recently Published

BoxPlot
boxplot(Sepal.Length ~ Species, data = iris, main = "Box Plot of Sepal Length by Species", col = "lightblue")
Waffle chart
waffle(table(iris$Species), rows = 5, title = "Waffle Chart of Iris Species")
Radar chart
library(fmsb) iris_means <- aggregate(iris[, 1:4], by = list(iris$Species), FUN = mean) radarchart(iris_means[, -1], title = "Radar Chart of Iris Species Means")
World cloud
Wordcloud
Scatter plot & Line plot
ggplot(airquality, aes(x = Temp, y = Ozone)) + geom_point() + geom_smooth(method = "lm", col = "red") + ggtitle("Regression Plot: Temperature vs Ozone") + xlab("Temperature") + ylab("Ozone")
Line plot
plot(iris$Sepal.Length, type = "l", main = "Line Plot of Sepal Length", xlab = "Index", ylab = "Sepal Length", col = "purple")
Scatter plot
plot(iris$Sepal.Length, iris$Sepal.Width, main = "Scatter Plot: Sepal Length vs Sepal Width", xlab = "Sepal Length", ylab = "Sepal Width", col = iris$Species, pch = 19)
PieChart-2
pie(table(airquality$Month), main = "Pie Chart of Months in Airquality Dataset", col = rainbow(length(unique(airquality$Month))))
PieChart-1
pie(table(iris$Species), main = "Pie Chart of Iris Species", col = rainbow(length(unique(iris$Species))))
Histogram-2
hist(airquality$Temp, main = "Histogram of Temperature", xlab = "Temperature", col = "pink")
Histogram-1
hist(iris$Sepal.Length, main = "Histogram of Sepal Length", xlab = "Sepal Length", col = "orange")
Bar plot-2
barplot(table(airquality$Month), main = "Bar Chart of Months in Airquality Dataset", xlab = "Month", ylab = "Count", col = "lightgreen")
Bar plot-1
barplot(table(iris$Species), main = "Bar Chart of Iris Species", xlab = "Species", ylab = "Count", col = "skyblue")