

{"id":4121,"date":"2016-03-14T10:43:06","date_gmt":"2016-03-14T15:43:06","guid":{"rendered":"http:\/\/rud.is\/b\/?p=4121"},"modified":"2018-03-07T16:42:45","modified_gmt":"2018-03-07T21:42:45","slug":"spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/","title":{"rendered":"Spinning Cycles in Box #4 To Take the Pies out of Pi Day"},"content":{"rendered":"<p>>UPDATE: time spent per task factor order was wrong before. now fixed.<\/p>\n<p>I caught this tweet today:<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\">INSTEAD OF WORRYING ABOUT HOW OTHER DATA SCIENTISTS USE ? PERHAPS <a href=\"https:\/\/mobile.twitter.com\/WSJGraphics\">@WSJGraphics<\/a> COULD SPEND THEIR ? LEARNING DATAVIZ <a href=\"https:\/\/t.co\/xrP2eUhaaQ\">pic.twitter.com\/xrP2eUhaaQ<\/a><\/p>\n<p>&mdash; Metrics Hulk (@MetricsHulk) <a href=\"https:\/\/mobile.twitter.com\/MetricsHulk\/status\/709377564238811136\">March 14, 2016<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>The WSJ folks usually do a great job, but this was either rushed or not completely thought through. There&#8217;s no way you&#8217;re going to be able to do any real comparisons between the segments across pies and direct pie % labels kinda mean they should have just made a table if they were going to phone it in.<\/p>\n<p>Despite the fact that today is Pi[e] Day, these pies need to go.<\/p>\n<p>If the intent was to primarily allow comparison of hours in-task, leaving some ability to compare the same time category across tasks, then bars are probably the way to go (you could do a parallel coordinates plot, but those looks like tangled guitar strings to me, so I&#8217;ll stick with bars). Here&#8217;s one possible alternative using R &#038; ggplot2. Since I provide the data, please link to your own creations as I&#8217;d love to see how others would represent the data.<\/p>\n<p>NOTE: I left direct bar labels off deliberately. My view is that (a) this is designed to be a relative comparison vs precise comparison &#038; (b) it&#8217;s survey data and if we&#8217;re going to add #&#8217;s I&#8217;d feel compelled to communicate margin of error, etc. I don&#8217;t think that&#8217;s necessary.<\/p>\n<pre lang=\"rsplus\">library(ggplot2)\r\nlibrary(grid)\r\nlibrary(scales)\r\nlibrary(hrbrmisc) # devtools::install_github(\"hrbrmstr\/hrbrmisc\")\r\nlibrary(tidyr)\r\n\r\ndat <- read.table(text=\r\n\"Task|less_than_one_hour_per_week|one_to_four_hours_per_week|one_to_three_hours_a_day|four_or_more_hours_a_day\r\nBasic exploratory data analysis|11|32|46|12\r\nData cleaning|19|42|31|7\r\nMachine learning, statistics|34|29|27|10\r\nCreating visualizations|23|41|29|7\r\nPresenting analysis|27|47|20|6\r\nExtract, transform, load|43|32|20|5\", sep=\"|\", header=TRUE, stringsAsFactors=FALSE)\r\n\r\namount_trans <- c(\"less_than_one_hour_per_week\"=\"<1 hr\/\\nwk\", \r\n                  \"one_to_four_hours_per_week\"=\"1-4 hrs\/\\nwk\", \r\n                  \"one_to_three_hours_a_day\"=\"1-3 hrs\/\\nday\", \r\n                  \"four_or_more_hours_a_day\"=\"4+ hrs\/\\nday\")\r\n\r\ndat <- gather(dat, amount, value, -Task)\r\ndat$value <- dat$value \/ 100\r\ndat$amount <- factor(amount_trans[dat$amount], levels=amount_trans)\r\n\r\ntitle_trans <- c(\"Basic exploratory data analysis\"=\"Basic exploratory\\ndata analysis\", \r\n                 \"Data cleaning\"=\"Data\\ncleaning\", \r\n                 \"Machine learning, statistics\"=\"Machine learning,\\nstatistics\", \r\n                 \"Creating visualizations\"=\"Creating\\nvisualizations\", \r\n                 \"Presenting analysis\"=\"Presenting\\nanalysis\", \r\n                 \"Extract, transform, load\"=\"Extract,\\ntransform, load\")\r\n\r\ndat$Task <-factor(title_trans[dat$Task], levels=title_trans)\r\n\r\ngg <- ggplot(dat, aes(x=amount, y=value, fill=amount))\r\ngg <- gg + geom_bar(stat=\"identity\", width=0.75, color=\"#2b2b2b\", size=0.05)\r\ngg <- gg + scale_y_continuous(expand=c(0,0), labels=percent, limits=c(0, 0.5))\r\ngg <- gg + scale_x_discrete(expand=c(0,1))\r\ngg <- gg + scale_fill_manual(name=\"\", values=c(\"#a6cdd9\", \"#d2e4ee\", \"#b7b079\", \"#efc750\"))\r\ngg <- gg + facet_wrap(~Task, scales=\"free\")\r\ngg <- gg + labs(x=NULL, y=NULL, title=\"Where Does the Time Go?\")\r\ngg <- gg + theme_hrbrmstr(grid=\"Y\", axis=\"x\", plot_title_margin=9)\r\ngg <- gg + theme(panel.background=element_rect(fill=\"#efefef\", color=NA))\r\ngg <- gg + theme(strip.background=element_rect(fill=\"#858585\", color=NA))\r\ngg <- gg + theme(strip.text=element_text(family=\"OpenSans-CondensedBold\", size=12, color=\"white\", hjust=0.5))\r\ngg <- gg + theme(panel.margin.x=unit(1, \"cm\"))\r\ngg <- gg + theme(panel.margin.y=unit(0.5, \"cm\"))\r\ngg <- gg + theme(legend.position=\"none\")\r\ngg <- gg + theme(panel.grid.major.y=element_line(color=\"#b2b2b2\"))\r\ngg <- gg + theme(axis.text.x=element_text(margin=margin(t=-10)))\r\ngg <- gg + theme(axis.text.y=element_text(margin=margin(r=-10)))\r\n\r\nggplot_with_subtitle(gg, \r\n                     \"The amount of time spent on various tasks by surveyed non-managers in data-science positions.\",\r\n                     fontfamily=\"OpenSans-CondensedLight\", fontsize=12, bottom_margin=16)<\/pre>\n<p><a href=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?ssl=1\" rel=\"attachment wp-att-4130\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"4130\" data-permalink=\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/rstudioscreensnapz018\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&amp;ssl=1\" data-orig-size=\"1710,1274\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"RStudioScreenSnapz018\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=300%2C224&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=510%2C380&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?w=510&#038;ssl=1\" alt=\"RStudioScreenSnapz018\"  class=\"aligncenter size-full wp-image-4130\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>>UPDATE: time spent per task factor order was wrong before. now fixed. I caught this tweet today: INSTEAD OF WORRYING ABOUT HOW OTHER DATA SCIENTISTS USE ? PERHAPS @WSJGraphics COULD SPEND THEIR ? LEARNING DATAVIZ pic.twitter.com\/xrP2eUhaaQ &mdash; Metrics Hulk (@MetricsHulk) March 14, 2016 The WSJ folks usually do a great job, but this was either [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4130,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[24,678,673,674,753,91],"tags":[810],"class_list":["post-4121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-charts-graphs","category-data-visualization","category-datavis-2","category-dataviz","category-ggplot","category-r","tag-post"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spinning Cycles in Box #4 To Take the Pies out of Pi Day - rud.is<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spinning Cycles in Box #4 To Take the Pies out of Pi Day - rud.is\" \/>\n<meta property=\"og:description\" content=\"&gt;UPDATE: time spent per task factor order was wrong before. now fixed. I caught this tweet today: INSTEAD OF WORRYING ABOUT HOW OTHER DATA SCIENTISTS USE ? PERHAPS @WSJGraphics COULD SPEND THEIR ? LEARNING DATAVIZ pic.twitter.com\/xrP2eUhaaQ &mdash; Metrics Hulk (@MetricsHulk) March 14, 2016 The WSJ folks usually do a great job, but this was either [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-14T15:43:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-07T21:42:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1710\" \/>\n\t<meta property=\"og:image:height\" content=\"1274\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"hrbrmstr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hrbrmstr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"Spinning Cycles in Box #4 To Take the Pies out of Pi Day\",\"datePublished\":\"2016-03-14T15:43:06+00:00\",\"dateModified\":\"2018-03-07T21:42:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\"},\"wordCount\":265,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1\",\"keywords\":[\"post\"],\"articleSection\":[\"Charts &amp; Graphs\",\"Data Visualization\",\"DataVis\",\"DataViz\",\"ggplot\",\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\",\"url\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\",\"name\":\"Spinning Cycles in Box #4 To Take the Pies out of Pi Day - rud.is\",\"isPartOf\":{\"@id\":\"https:\/\/rud.is\/b\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1\",\"datePublished\":\"2016-03-14T15:43:06+00:00\",\"dateModified\":\"2018-03-07T21:42:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1\",\"width\":1710,\"height\":1274},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rud.is\/b\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spinning Cycles in Box #4 To Take the Pies out of Pi Day\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rud.is\/b\/#website\",\"url\":\"https:\/\/rud.is\/b\/\",\"name\":\"rud.is\",\"description\":\"&quot;In God we trust. All others must bring data&quot;\",\"publisher\":{\"@id\":\"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rud.is\/b\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886\",\"name\":\"hrbrmstr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1\",\"url\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1\",\"width\":460,\"height\":460,\"caption\":\"hrbrmstr\"},\"logo\":{\"@id\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1\"},\"description\":\"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7\",\"sameAs\":[\"http:\/\/rud.is\"],\"url\":\"https:\/\/rud.is\/b\/author\/hrbrmstr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spinning Cycles in Box #4 To Take the Pies out of Pi Day - rud.is","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/","og_locale":"en_US","og_type":"article","og_title":"Spinning Cycles in Box #4 To Take the Pies out of Pi Day - rud.is","og_description":">UPDATE: time spent per task factor order was wrong before. now fixed. I caught this tweet today: INSTEAD OF WORRYING ABOUT HOW OTHER DATA SCIENTISTS USE ? PERHAPS @WSJGraphics COULD SPEND THEIR ? LEARNING DATAVIZ pic.twitter.com\/xrP2eUhaaQ &mdash; Metrics Hulk (@MetricsHulk) March 14, 2016 The WSJ folks usually do a great job, but this was either [&hellip;]","og_url":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/","og_site_name":"rud.is","article_published_time":"2016-03-14T15:43:06+00:00","article_modified_time":"2018-03-07T21:42:45+00:00","og_image":[{"width":1710,"height":1274,"url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1","type":"image\/png"}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"Spinning Cycles in Box #4 To Take the Pies out of Pi Day","datePublished":"2016-03-14T15:43:06+00:00","dateModified":"2018-03-07T21:42:45+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/"},"wordCount":265,"commentCount":4,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1","keywords":["post"],"articleSection":["Charts &amp; Graphs","Data Visualization","DataVis","DataViz","ggplot","R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/","url":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/","name":"Spinning Cycles in Box #4 To Take the Pies out of Pi Day - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1","datePublished":"2016-03-14T15:43:06+00:00","dateModified":"2018-03-07T21:42:45+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1","width":1710,"height":1274},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2016\/03\/14\/spinning-cycles-in-box-4-to-take-the-pies-out-of-pi-day\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"Spinning Cycles in Box #4 To Take the Pies out of Pi Day"}]},{"@type":"WebSite","@id":"https:\/\/rud.is\/b\/#website","url":"https:\/\/rud.is\/b\/","name":"rud.is","description":"&quot;In God we trust. All others must bring data&quot;","publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rud.is\/b\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886","name":"hrbrmstr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","width":460,"height":460,"caption":"hrbrmstr"},"logo":{"@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1"},"description":"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7","sameAs":["http:\/\/rud.is"],"url":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz018.png?fit=1710%2C1274&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p23idr-14t","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":5835,"url":"https:\/\/rud.is\/b\/2017\/04\/21\/shuttering-pies-with-retiring-stores\/","url_meta":{"origin":4121,"position":0},"title":"Shuttering Pies With Retiring Stores","author":"hrbrmstr","date":"2017-04-21","format":false,"excerpt":"I caught this \"gem\" in the Wall Street Journal tonight: It's pretty hard to compare store-to-store, even though it is fairly clear which ones are going-going-gone. If we want to see the relative percentage of each store closing and also want to see how they stack up against each other,\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/04\/RStudio.png?fit=1200%2C755&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/04\/RStudio.png?fit=1200%2C755&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/04\/RStudio.png?fit=1200%2C755&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/04\/RStudio.png?fit=1200%2C755&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/04\/RStudio.png?fit=1200%2C755&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3141,"url":"https:\/\/rud.is\/b\/2014\/11\/27\/power-outage-impact-choropleths-in-5-steps-in-r-featuring-rvest-rstudio-projects\/","url_meta":{"origin":4121,"position":1},"title":"Power Outage Impact Choropleths In 5 Steps in R (featuring rvest &#038; RStudio &#8220;Projects&#8221;)","author":"hrbrmstr","date":"2014-11-27","format":false,"excerpt":"I and @awpiii were trading news about the power outages in Maine & New Hampshire last night and he tweeted the link to the @PSNH [Outage Map](http:\/\/www.psnh.com\/outage\/). As if the Bing Maps tiles weren't bad enough, the use of a categorical color scale instead of a sequential one[[1](http:\/\/earthobservatory.nasa.gov\/blogs\/elegantfigures\/2011\/05\/20\/qualitative-vs-sequential-color-scales\/)] caused sufficient\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3806,"url":"https:\/\/rud.is\/b\/2015\/12\/13\/fear-of-wapo-using-bad-pie-charts-has-increased-since-last-year\/","url_meta":{"origin":4121,"position":2},"title":"Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year","author":"hrbrmstr","date":"2015-12-13","format":false,"excerpt":"I woke up this morning to a [headline story from the Washington Post](https:\/\/www.washingtonpost.com\/news\/the-fix\/wp\/2015\/12\/10\/to-many-christian-terrorists-arent-true-christians-but-muslim-terrorists-are-true-muslims\/) on _\"Americans are twice as willing to distance Christian extremists from their religion as Muslims_\". This post is not about the content of the headline or story. It _is_ about the horrible pie chart WaPo led the\u2026","rel":"","context":"In &quot;Data Visualization&quot;","block_context":{"text":"Data Visualization","link":"https:\/\/rud.is\/b\/category\/data-visualization\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/unnamed-chunk-1-1.png?fit=1200%2C877&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/unnamed-chunk-1-1.png?fit=1200%2C877&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/unnamed-chunk-1-1.png?fit=1200%2C877&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/unnamed-chunk-1-1.png?fit=1200%2C877&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2015\/12\/unnamed-chunk-1-1.png?fit=1200%2C877&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3292,"url":"https:\/\/rud.is\/b\/2015\/03\/07\/streamgraph-package-now-supports-continuous-x-axis-scale\/","url_meta":{"origin":4121,"position":3},"title":"Streamgraph package now supports continuous x axis scale","author":"hrbrmstr","date":"2015-03-07","format":false,"excerpt":"A post on [StackOverflow](http:\/\/stackoverflow.com\/questions\/28725604\/streamgraphs-dataviz-in-r-wont-plot) asked about using a continuous variable for the x-axis (vs dates) in my [streamgraph package](http:\/\/github.com\/hrbrmstr\/streamgraph). While I provided a workaround for the question, it helped me bump up the priority for adding support for continuous x axis scales. With the [DBIR](http:\/\/www.verizonenterprise.com\/DBIR\/) halfway behind me now, I\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2782,"url":"https:\/\/rud.is\/b\/2013\/11\/13\/visual-anatomy-of-r-packages-used-in-data-driven-security\/","url_meta":{"origin":4121,"position":4},"title":"Visual Anatomy Of R Packages Used in Data Driven Security","author":"hrbrmstr","date":"2013-11-13","format":false,"excerpt":"Since @jayjacobs & I are down to the home stretch on Data Driven Security, I thought it would be interesting to do some post-writing pseudo-analyses of the book itself. I won't have exact page or word counts for a bit, but I wanted to see how many R packages we\u2026","rel":"","context":"In &quot;Data Analysis&quot;","block_context":{"text":"Data Analysis","link":"https:\/\/rud.is\/b\/category\/data-analysis-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3127,"url":"https:\/\/rud.is\/b\/2014\/11\/26\/visualizing-historical-most-likely-first-snowfall-dates-for-u-s-regions\/","url_meta":{"origin":4121,"position":5},"title":"Visualizing Historical &#038; Most-likely First Snowfall Dates for U.S. Regions","author":"hrbrmstr","date":"2014-11-26","format":false,"excerpt":"UPDATE: You can now run this as a local Shiny app by entering shiny::runGist(\"95ec24c1b0cb433a76a5\", launch.browser=TRUE) at an R prompt (provided all the dependent libraries (below) are installed) or use it interactively over at Shiny Apps. The impending arrival of the first real snowfall of the year in my part of\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/4121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/comments?post=4121"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/4121\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media\/4130"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=4121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=4121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=4121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}