Announcement

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

  • Drawing a Pie graph

    Hello Stata community;
    I'm working with this small dataset:

    Code:
    * Example generated by -dataex-. To install: ssc install dataex
    clear
    input str21 Declaration byte tauxdedclarationsfiscalesdesforf
    "Défaut de Déclaration" 40
    "Déclaration soumise"   60
    end
    It is about the percentage of tax filing (or declarations) of a group of people: 40% didn't declare their taxes, and 60% of them did.
    Is it possible to draw a pie graph out of this summed-up data already? If it is possible, I would like to know how.

    With Thanks!

  • #2
    One of the examples in help graph pie seems to be exactly what you need.

    Comment


    • #3
      Code:
      graph pie tauxdedclarationsfiscalesdesforf, over(Declaration)

      Comment


      • #4
        Daniel Schaefer & Nick Cox Thank you for both of you!

        Comment

        Working...
        X