<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/data-movies-and-ggplot2/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://smarterpoland.pl/index.php/2018/12/data-movies-and-ggplot2/"> English – SmarterPoland.pl</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Yet another boring barplot?<br>
No!<br>
I’ve asked my students from <a rel="nofollow" href="https://mini.pw.edu.pl/" target="_blank">MiNI WUT</a> to visualize some data about their favorite movies or series.<br>
Results are pretty awesome.<br>
Believe me or not, but charts in these posters are created with ggplot2 (most of them)!</p>
<p><b>Star Wars</b></p>
<p>Fan of StaR WaRs? Find out which color is the most popular for lightsabers!<br>
Yes, these lightsabers are created with ggplot2.<br>
Would you guess which characters are overweighed?<br>
Find the R code and the data on <a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/trzejMuszkieterowie_Projekt1" target="_blank">the GitHub</a>.</p>
<p><img src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/StarWars.png?w=450" data-recalc-dims="1"></p>
<p><b>Harry Pixel</b></p>
<p>Take fames from Harry Potter movies, use k-means to extract dominant colors for each frame, calculate derivative for color changes and here you are.<br>
The <a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/HarryPixel" target="_blank">R code and the poster are here</a>.<br>
(steep derivatives in color space is a nice proxy for dynamic scenes).</p>
<p><img src="https://i2.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/HarryPixel.png?w=450" data-recalc-dims="1"></p>
<p><b>Social Network for Super Heroes</b></p>
<p>Have you ever wondered how the distribution of super powers looks like among Avengers?<br>
Check put this poster or <a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/WachulecPysiakMakowski" target="_blank">dive in the data</a>.</p>
<p><img src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/Marvel.png?w=450" data-recalc-dims="1"></p>
<p><b>Pardon my French, but…</b></p>
<p>Scrap transcripts from over 100k movies, find out how many curse words you may find in these movies, plot these statistics.<br>
<a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/WoloszKisielinskiSielicki" target="_blank">Here are sources and the poster</a>.<br>
(Bonus Question 1: how curse words are related to Obama/Trump presidency?<br>
Bonus Question 2: is the number of hard curse words increasing or not?)</p>
<p><img src="https://i0.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/French.png?w=450" data-recalc-dims="1"></p>
<p><b>Rick and Morty</b></p>
<p>Interested in the demography of characters from Rick and Morty?<br>
Here <a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/Granat_Merkel" target="_blank">is the R code and the poster</a>.<br>
(Tricky question: what is happening with season 3?)</p>
<p><img src="https://i2.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/RickAndMorty.png?w=450" data-recalc-dims="1"></p>
<p><b>Twin Peaks</b></p>
<p>Transcripts from Twin Peaks are full of references to coffee and donuts.<br>
Except the episode in which the Laura’s murdered is revealed (ups, spoiler alert).<br>
Check out this by yourself with <a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/TomaszKlonecki" target="_blank">these scripts</a>.</p>
<p><img src="https://i0.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/TwinPeaks.png?w=450" data-recalc-dims="1"></p>
<p><b>The Lion King</b></p>
<p>Which Disney’s movie is the most popular?<br>
<a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/KowalczykDawid_KozakAnna" target="_blank">It wasn’t hard to guess.</a></p>
<p><img src="https://i1.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/HakunaMatata.png?w=450" data-recalc-dims="1"></p>
<p><b>Box Office</b></p>
<p>5D scatterplots?<br>
<a rel="nofollow" href="https://github.com/pbiecek/TechnikiWizualizacjiDanych2018/tree/master/Projekt1/BednarzWawrzyniak" target="_blank">Here you have.</a></p>
<p><img src="https://i0.wp.com/smarterpoland.pl/wp-content/uploads/2018/12/BoxOffice.png?w=450" data-recalc-dims="1"></p>
<p>Next time I will ask my students to visualize data about R packages…<br>
Or maybe you have some other ideas?</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/2018/12/data-movies-and-ggplot2/"> English – SmarterPoland.pl</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/EX4y5BtBkq8" height="1"></a></div>