title: How to draw a 3D donut chart in OpenGL?
body: <p>I would like to draw a chart in OpenGL similar to the donut graph at the bottom-right of this example.</p>
  <p>I have experience with drawing 2D charts such as the main chart in the example but what confuses me about the one I want to draw is the correct type of primitive to use when drawing the 3D chart. I have considered using GL_QUAD_STRIP and GL_POLYGON but neither seem quite right for the task. Where should I begin?</p>
  <p>I will be using JOGL with Java to draw the chart, if that helps at all. Also, I don't necessarily need to extrude certain slices of the chart as shown in the example.</p>
  <p>Update: I do need to use OpenGL for drawing even if there are easier alteratives. This is part of my research for an assignment that requires OpenGL rendering.</p>
  <p><a href="https://i.stack.imgur.com/Mlcdf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mlcdf.jpg" alt="Infographics Example" /></a><br />
  <sub>(source: <a href="http://theportfolio.ofmichaelanderson.com/wp-content/uploads/2008/05/resume-infographic.jpg" rel="nofollow noreferrer">ofmichaelanderson.com</a>)</sub></p>