ppp_201503 | R Documentation |
A poll of 691 people, with party affiliation collected, asked whether they think it's better to raise taxes on the rich or raise taxes on the poor.
ppp_201503
A data frame with 691 observations on the following 2 variables.
Political party affiliation.
Support for who to raise taxes on.
Public Policy Polling, Americans on College Degrees, Classic Literature, the Seasons, and More, data collected Feb 20-22, 2015.
library(ggplot2)
ggplot(ppp_201503, aes(x = party, fill = taxes)) +
geom_bar(position = "fill") +
labs(x = "Party", x = "Proportion", fill = "Taxes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.