Histograms with ggplot2

Data Science with R Programming 6 min min read Updated: Mar 07, 2026 Beginner
Histograms with ggplot2
Beginner Topic 5 of 10

Histograms

Histograms show how numerical data is distributed.

r ggplot(mtcars, aes(x=mpg)) + geom_histogram()

Next Tutorial: Box Plots

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators