Use pie charts with care. See http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=00018S on Edward Tufte's website for good arguments against the use of pie charts. For a contrary point-of-view, see Spence's article, No Humble Pie: The Origins and Usage of a Statistical Chart (http://www.psych.utoronto.ca/users/spence/Spence
1 |
df |
the data frame. |
col |
the name of the column to generate the pie chart for. |
label |
the label for the legend. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.