<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/data-visualization-part-1/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.stoltzmaniac.com/data-visualization-part-1/"> R-Projects – Stoltzmaniac</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<hr>
<h1>Introduction to Data Visualization – Theory, R &amp; ggplot2</h1>
<p><img title="plot of chunk unnamed-chunk-1" alt="plot of chunk unnamed-chunk-1" src="https://i1.wp.com/i.imgur.com/UffpkhM.png?w=456" data-recalc-dims="1"></p>
<p>The topic of data visualization is very popular in the data science community. The market size for visualization products is valued at $4 Billion and is projected to reach $7 Billion by the end of 2022 according to <a target="_blank" rel="nofollow" href="https://www.mordorintelligence.com/industry-reports/data-visualization-applications-market-future-of-decision-making-industry">Mordor Intelligence.</a> While we have seen amazing advances in the technology to display information, the understanding of how, why, and when to use visualization techniques has not kept up. Unfortunately, people are often taught how to make a chart before even thinking about whether or not it’s appropriate.</p>
<p>In short, are you adding value to your work or are you simply adding this to make it seem <strong><em>less boring?</em></strong> Let’s take a look at some examples before going through the Stoltzmaniac Data Visualization Philosophy.<span></span></p>
<hr>
<p>I have to give credit to <a target="_blank" rel="nofollow" href="http://junkcharts.typepad.com/">Junk Charts</a> – it inspired a lot of this post.</p>
<h3>One author at Vox wanted to show the cause of death in all of Shakespeare</h3>
<p><img title="plot of chunk unnamed-chunk-2" alt="plot of chunk unnamed-chunk-2" src="https://i1.wp.com/i.imgur.com/A58rWDW.png?w=456" data-recalc-dims="1"></p>
<p><strong>Is this not insane!?!?!</strong></p>
<p>Using a legend instead of data callouts is the only thing that could have made this worse. The author could easily have used a number of other tools to get the point across. While wordles are not ideal for any work requiring exact proportions, it does make for a great visual in this article. <a target="_blank" rel="nofollow" href="http://junkcharts.typepad.com/junk_charts/2016/03/which-way-to-die-the-bard-asked-onelesspie.html">Junk Charts Article</a>.</p>
<h2><img title="plot of chunk unnamed-chunk-3" alt="plot of chunk unnamed-chunk-3" src="https://i2.wp.com/i.imgur.com/lb1ZM3r.png?w=456" data-recalc-dims="1"></h2>
<p>To be clear, I’m not close to being perfect when it comes to visualizations in my blog. The sizes, shapes, font colors, etc. tend to get out of control and I don’t take the time in R to tinker with all of the details. However, when it comes to displaying things professionally, it has to be spot on! So, I’ll walk through my theory and not worry too much about aesthetics (save that for a time when you’re getting paid).</p>
<hr>
<h3>The Good, The Bad, The Ugly</h3>
<p><strong>“The Good” visualizations:</strong></p>
<ul>
<li>Clearly illustrate a point</li>
<li>Are tailored to the appropriate audience
<ul>
<li>Analysts may want detail</li>
<li>Executives may want a high-level view</li>
</ul>
</li>
<li>Are tailored to the presentation medium
<ul>
<li>A piece in an academic journal can be analyzed slowly and carefully</li>
<li>A slide in front of 5,000 people in a conference will be glanced at quickly</li>
</ul>
</li>
<li>Are memorable to those who care about the material</li>
<li>Make an impact which increases the understanding of the subject matter</li>
</ul>
<p><strong>“The Bad” visualizations:</strong></p>
<ul>
<li>Are difficult to interpret</li>
<li>Are unintentionally misleading</li>
<li>Contain redundant and boring information</li>
</ul>
<p><strong>“The Ugly” visualizations:</strong></p>
<ul>
<li>Are almost impossible to interpret</li>
<li>Are filled with completely worthless information</li>
<li>Are intentionally created to mislead the audience</li>
<li>Are inaccurate</li>
</ul>
<h3>Coming soon:</h3>
<ul>
<li>Introduction to the ggplot2 in R and how it works</li>
<li>Determining whether or not you need a visualization</li>
<li>Choosing the type of plot to use depending on the use case</li>
<li>Visualization beyond the standard charts and graphs</li>
</ul>
<p>As always, the code used in this post is on my <a target="_blank" rel="nofollow" href="https://github.com/stoltzmaniac/Data-Visualization-Lesson">GitHub</a></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="https://www.stoltzmaniac.com/data-visualization-part-1/"> R-Projects – Stoltzmaniac</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 title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/BpfJ4fw7NzI"></a></div>