manhattan | R Documentation |
A data frame containing data on apartment rentals in Manhattan.
manhattan
A data frame with 20 observations on the following 1 variable.
Monthly rent for a 1 bedroom apartment listed as "For rent by owner".
library(ggplot2)
ggplot(manhattan, aes(rent)) +
geom_histogram(color = "white", binwidth = 300) +
theme_minimal() +
labs(
title = "Rent in Manhattan",
subtitle = "1 Bedroom Apartments",
x = "Rent (in US$)",
caption = "Source: Craigslist"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.