{"id":3400,"date":"2017-05-12T10:19:28","date_gmt":"2017-05-12T09:19:28","guid":{"rendered":"https:\/\/abcdr.guyader.pro\/?p=3400"},"modified":"2018-04-08T00:02:52","modified_gmt":"2018-04-07T23:02:52","slug":"comment-creer-un-diagramme-circulaire-avec-ggplot2-coord_polar","status":"publish","type":"post","link":"https:\/\/thinkr.fr\/abcdr\/comment-creer-un-diagramme-circulaire-avec-ggplot2-coord_polar\/","title":{"rendered":"Comment cr\u00e9er un diagramme circulaire avec ggplot2 ? coord_polar()"},"content":{"rendered":"<p>Vous en avez assez des digrammes en barres et des lignes ? Alors laissez-vous tenter par les diagrammes circulaires !<\/p>\n<p>Pour<strong> transformer votre graphe en diagramme circulaire<\/strong>, ajoutez l&rsquo;argument <em>coord_polar()<\/em> \u00e0 votre ggplot !<\/p>\n<pre><code>library(ggplot2)\ndata(diamonds)\nggplot(diamonds, aes(cut)) +\n  geom_bar() +\n  coord_polar()<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Vous en avez assez des digrammes en barres et des lignes ? Alors laissez-vous tenter par les diagrammes circulaires ! Pour transformer votre graphe en diagramme circulaire, ajoutez l&rsquo;argument coord_polar() \u00e0 votre ggplot ! library(ggplot2) data(diamonds) ggplot(diamonds, aes(cut)) + geom_bar() + coord_polar()<a class=\"more-link\" href=\"https:\/\/thinkr.fr\/abcdr\/comment-creer-un-diagramme-circulaire-avec-ggplot2-coord_polar\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"twitter_399453572_399453572":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,22],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-colin","4":"post-3400","6":"format-standard","7":"category-graphique","8":"category-tidyverse"},"acf":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9O7Sx-SQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/posts\/3400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/comments?post=3400"}],"version-history":[{"count":2,"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/posts\/3400\/revisions"}],"predecessor-version":[{"id":4328,"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/posts\/3400\/revisions\/4328"}],"wp:attachment":[{"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/media?parent=3400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/categories?post=3400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinkr.fr\/abcdr\/wp-json\/wp\/v2\/tags?post=3400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}