Announcement

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

  • Problem generating diagram map (pie chart) using spmap command

    Hi,

    I am trying to generate a diagram map with pie charts which shows the share of successful/unsuccessful crowdfunding projects in Germany. When the spmap command gives the output, I finish with the of Germany to my top left side of the graph and on the bottom left the diagram pie charts that indicate the shares of the projects. I would ideally need the diagrams to be over the map, since each project is at the city level. The map and the pie charts also appear to be very small. I have used the following code:

    use locscode2
    spmap using deucoord, id(id) fcolor(stone) ///
    diagram(variable(sharesuccess shareunsuccess) proportional(numproject) ///
    xcoord(latitude) ycoord(longitude) legenda(on)) ///
    legend(size(*1.4)) ///
    title("Share of Successful and Unsuccessful Crowdfunding Projects", size(*0.5) bexpand) ///
    subtitle("by German city")
Working...
X