Hello Stata users;
I have this bit of data which comes from a survey:
The first variable "answer" are the categories of answers that people where given the posibility to choose from, the second variable "Year 2023" are the answer, by percentage, of people for each category, and the same thing for the third and last variable, which is for the year 2024.
The goal is to draw a bar graph with the two years in it on the X axis, and the percentages of the categories of answer are on the Y axis.
Any help please? With many thanks...
I have this bit of data which comes from a survey:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str12 answer byte(Year_2023 Year_2024) "Negative" 24 45 "Stabe" 37 31 "Positive" 36 19 "I don't know" 3 5 end
The goal is to draw a bar graph with the two years in it on the X axis, and the percentages of the categories of answer are on the Y axis.
Any help please? With many thanks...
Comment