Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with creating STATA bar graph

    I have problem to create bar graph with my data. 1st image is my desired graph. 2nd table is my data with three red color columns. Basically, I want to make a graph with typeofviolation, countries and with yearin. It would be great if someone help me
    Click image for larger version

Name:	328369206_1000856857542497_4215150188934732734_n.jpg
Views:	1
Size:	152.5 KB
ID:	1699917
    Attached Files

  • #2
    #1 looks like a screenshot from a spreadsheet. Posting here is premature until you can show us what the data look like in Stata. Please see #12 and #18 too at https://www.statalist.org/forums/help

    Comment


    • #3
      Nick Cox I want bar graph from 1st three columns
      Click image for larger version

Name:	Screenshot 2023-02-02 at 10.33.35.png
Views:	1
Size:	1.47 MB
ID:	1699965

      Comment


      • #4
        Your variables are all string because you included line 1 of the worksheet with header information when importing. Best to go back and fix that. There is no way to draw a bar chart until you do.

        #12 of https://www.statalist.org/forums/help remains essential. We can do little with a screenshot and that link explains why.

        Comment

        Working...
        X