Your SlideShare is downloading. ×
  • Like
Data Visualization with R
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Data Visualization with R

  • 581 views
Published

Introduction to data visualization with R. Use-cases from a real life

Introduction to data visualization with R. Use-cases from a real life

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
581
On SlideShare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
12
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. DATA VISUALIZATION WITH R Introduction to data visualization with R. Use-cases from a real life sergii.khomenko@stylight.com, @lc0d3r Slide 1 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 2. AGENDA 1. Twitter word cloud 2. User activity: The story of your data 3. Foursquare: Places visited Slide 2 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 3. POPULARITY OF R
  • 4. POPULARITY OF R None 7 Other 70 Lisp 4 Hadoop/Pig/Hive 35 Perl 45 Unix shell/awk/gawk/sed 59 C/C++ 73 MATLAB 83 SAS 121 Java 139 Python 140 SQL 184 R 257 0 50 Slide 4 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng 100 150 200 250 300
  • 5. SMM DATA FROM TWITTER Slide 5 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 6. TWITTER WORD CLOUD Fancy word cloud or inspiration for community? Slide 6 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 7. FIXING TWITTER OAUTH • • TwitteR Error in twInterfaceObj$doAPICall(paste("users", "show", sep = "/"), params = params, : OAuth authentication is required with Twitter's API v1.1 Slide 7 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 8. WORD CLOUD Slide 8 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 9. TWITTER FOLLOWER MAP Slide 9 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 10. USER ACTIVITY: THE STORY OF YOUR DATA Slide 10 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 11. RMYSQL • • RMySQL • • MySQL C Connector libmysql.dll into MySQL bin folder • Sys.setenv(MYSQL_HOME="c:Program FilesMySQLMySQL Server 5.5") RMySQL Slide 11 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng binary
  • 12. BUT WE HAVE ONLY IP Slide 12 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 13. FIRST MAP Slide 13 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 14. MAKE IT MOVING • ImageMagic • MPG - convert -quality 100 -delay 100 *.png stylight-signups.mpg • GIF - convert -quality 100 -delay 100 *.png -loop 0 stylight-signups.gif • library(animation) saveGIF({ for (i in 1:10) plot(runif(10), ylim = 0:1) }) Slide 14 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 15. ANIMATE IT! Slide 15 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 16. FOURSQUARE: PLACES VISITED Slide 16 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 17. length(table(foursquareData$country)) [1] 8 > table(foursquareData$country) France Germany 9 449 The Netherlands Ukraine 3 138 Monaco 2 Montenegro 18 Russia 15 Switzerland 3
  • 18. RGOOGLEMAPS Slide 18 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 19. RGOOGLEMAPS Slide 19 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 20. THANKS FOR YOUR ATTENTION! Questions? Slide 20 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 21. Sergii Khomenko Data Scientist STYLIGHT GmbH sergii.khomenko@stylight.com @lc0d3r http://www.stylight.com Nymphenburger Straße 86 80636 Munich, Germany Slide 21 | STYLIGHT | Proud to bleed purple | @lc0d3r and @stylight_eng
  • 22. REFERENCE LIST • • • Thoughts in plain text http://lc0.github.io/ Stack Overflow Tag Trends http://hewgill.com/~greg/stackoverflow/stack_overflow/tags/# !r+sas+data+visualization KDnuggets: Top Languages for analytics, data mining, data science http://www.kdnuggets.com/2013/08/languages-foranalytics-data-mining-data-science.html