Problem grouping data by a variable

I currently uploaded US census data into R using a .csv file. I am trying to group the data by race and everything I try does not work. I am trying to get each individual grouped by “white” “black” etc. so I can plot a hist separating each bar representing a different race and the Y axis representing the total population.

What specifically have you tried?

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.