<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/how-to-create-a-flexdashboard-exercises/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.r-exercises.com/2018/06/15/how-to-create-a-flexdashboard-exercises/"> R-exercises</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><strong>INTRODUCTION</strong></p>
<p>With flexdashboard, you can easily create interactive dashboards for R. What is amazing about it is that with R Markdown, you can publish a group of related data visualizations as a dashboard.</p>
<p>Additionally, it supports a wide variety of components, including htmlwidgets; base, lattice, and grid graphics; tabular data; gauges and value boxes and text annotations.</p>
<p>It is flexible and easy to specify rows and column-based layouts. Components are intelligently re-sized to fill the browser and adapted for display on mobile devices.</p>
<p>In combination with Shiny, you can create a high quality dashboard with interactive visualizations.</p>
<p>Before proceeding, please follow our short <a rel="nofollow" href="http://r-exercises.com/2018/06/08/how-to-create-a-flexdashboard/" target="_blank">tutorial.</a></p>
<p>Look at the examples given and try to understand the logic behind them. Then, try to solve the exercises below by using R without looking at the answers. Then, check the <a rel="nofollow" href="http://r-exercises.com/2018/06/15/flexdashboard-exercises:-solutions" target="_blank">solutions</a> to check your answers.</p>
<p><strong>Exercise 1</strong></p>
<p>Create a new flexdashboard R Markdown file from the R console</p>
<p><strong>Exercise 2</strong></p>
<p>Create the very initial dashboard interface in a single column.</p>
<p><strong>Exercise 3</strong></p>
<p>Add the space in which you will put your first chart</p>
<p><strong>Exercise 4</strong></p>
<p>Add the space in which you will put your second chart. The two charts should be stacked vertically.</p>
<p><strong>Exercise 5</strong></p>
<p>Add a third chart with the same logic.</p>
<p><strong>Exercise 6</strong></p>
<p>Transform your layout to scrolling.</p>
<p><strong>Exercise 7</strong></p>
<p>Displays THE 3 charts split across two columns.</p>
<p><strong>Exercise 8</strong></p>
<p>Change the width of these two columns.</p>
<p><strong>Exercise 9</strong></p>
<p>Defines two rows instead of columns, the first of which has a single chart and the second of which has two charts:</p>
<p><strong>Exercise 10</strong></p>
<p>Change the height of these two columns.</p>
<div>
<h3>Related exercise sets:</h3>
<ol>
<li><a rel="nofollow" href="https://www.r-exercises.com/2017/03/24/building-shiny-app-exercises-part-8/" title="Building Shiny App Exercises (part-8)" target="_blank">Building Shiny App Exercises (part-8) </a></li>
<li><a rel="nofollow" href="https://www.r-exercises.com/2017/08/06/data-visualization-with-googlevis-exercises-part-10/" title="Data visualization with googleVis exercises part 10" target="_blank">Data visualization with googleVis exercises part 10 </a></li>
<li><a rel="nofollow" href="https://www.r-exercises.com/2017/06/11/data-visualization-with-googlevis-exercises-part-2/" title="Data Visualization with googleVis exercises part 2" target="_blank">Data Visualization with googleVis exercises part 2 </a></li>
<li><a rel="nofollow" href="http://www.r-exercises.com/start-here-to-learn-r/" target="_blank">Explore all our (>1000) R exercises</a></li>
<li><a rel="nofollow" href="http://www.r-exercises.com/r-courses/" target="_blank">Find an R course using our R Course Finder</a> directory</li>
</ol>
</div>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://www.r-exercises.com/2018/06/15/how-to-create-a-flexdashboard-exercises/"> R-exercises</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/nfQTTWwJGKA" height="1"></a></div>