library(ggplot2)
# CPU base speed
ggplot(cpu, aes(x = company, y = base_clock)) +
geom_boxplot() +
labs(
x = "Company",
y = "Base Clock (GHz)",
title = "CPU base speed"
)
# Process node size vs. boost speed
ggplot(cpu, aes(x = process, y = boost_clock)) +
geom_point() +
labs(
x = "Process node size (nm)",
y = "Boost Clock (GHz)",
title = "Process node size vs. boost speed"
)
Run the code above in your browser using DataLab