<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/christmas-trees/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://smarterpoland.pl/index.php/2017/12/christmas-trees/"> SmarterPoland.pl » English</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Year over year, in the last classes before Christmas I ask my students to create a Christmas tree in R.<br>
Classes are about Techniques of data visualisation and usually, at this point, we are discussing interactive graphics and tools like rbokeh, ggiraph, vegalite, googleVis, D3, rCharts or plotly. I like this exercise because with most tools it is easy to create a barchart, but how good must be the tool and the craftsman to handle a christmas tree?</p>
<p>Here is what they did this year (having around 1 hour to finish the task). <a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2017/tree/master/choinki" target="_blank">Knitr scripts</a>.</p>
<p><img alt="Screen Shot 2017-12-21 at 23.10.57" src="https://i2.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-23.10.57-300x185.png?resize=300%2C185" class="wp-image-8428" data-recalc-dims="1"><img alt="Screen Shot 2017-12-21 at 23.10.48" src="https://i0.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-23.10.48-300x252.png?resize=300%2C252" class="wp-image-8429" data-recalc-dims="1"></p>
<p><img alt="Screen Shot 2017-12-21 at 23.10.40" src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-23.10.40-300x257.png?resize=300%2C257" class="wp-image-8430" data-recalc-dims="1"><img alt="Screen Shot 2017-12-21 at 23.10.23" src="https://i0.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-23.10.23-290x300.png?resize=290%2C300" class="wp-image-8431" data-recalc-dims="1"></p>
<p><img alt="Screen Shot 2017-12-21 at 22.06.35" src="https://i2.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-22.06.35-284x300.png?resize=284%2C300" class="wp-image-8432" data-recalc-dims="1"><img alt="Screen Shot 2017-12-21 at 22.00.11" src="https://i2.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-22.00.11-275x300.png?resize=275%2C300" class="wp-image-8433" data-recalc-dims="1"></p>
<p><img alt="Screen Shot 2017-12-21 at 23.11.45" src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-23.11.45-300x185.png?resize=300%2C185" class="wp-image-8426" data-recalc-dims="1"><img alt="Screen Shot 2017-12-21 at 23.11.19" src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-23.11.19-300x292.png?resize=300%2C292" class="wp-image-8427" data-recalc-dims="1"></p>
<p><img alt="Screen Shot 2017-12-21 at 21.57.54" src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2017/12/Screen-Shot-2017-12-21-at-21.57.54-273x300.png?resize=273%2C300" class="wp-image-8434" data-recalc-dims="1"></p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://smarterpoland.pl/index.php/2017/12/christmas-trees/"> SmarterPoland.pl » English</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/1afuO6xGPnQ" height="1"></a></div>