Stat 651: Data Visualization
Department of Statistics and Biostatistics, CSU East Bay
Fall 2023:
Finals Week:
- I will have usual office hours next week on Th 10-11 online and F 2-3pm. I will be available by appointment for the rest of the week. Please email me if you would like to meet.
- The last two assignments to submit will be the Project and the Final. They are both posted on the Assignments page.
Week 7:
- Statistics Department Scholarship: scholarship
- Class Evaluation: Please complete your class evaluation online. Thank you.
- Final: The Final Exam will be take-home. Posted later this week.
- Presentation:
- RNotebook:
- YouTube Video: Going Viral
- YouTube Video: Occupy #BankTransferDay Retweet Social Network
- Website Spotlight: eigenfactor.org
- Spotlight Software: neo4j.com
- Review:
- Spotlight Video: TED The beauty of data visualization
- Presentation:
- Final: What will be on the Final?
- Question 1: On the Final I will ask you to comment on a visualization(s). It may be a good one or it may be a bad one. Aesthetics, Color, Shape, Scales, Guides, Facets, Layers
- Question 2: Make a traditional plot using ggplot. Make a plot you have never made before.
- Good refereces:
Week 6:
- Homework: Since Homework 3 is quite challenging to get the geocoding to work, I am extending the deadline to the end of next week, Friday Dec. 8, 2023.
- Homework: hw02.zip
- Project: The class project has been posted on the Homework page.
- Homework: Homework 4 has been posted. So far a reading assignment.
- Software Spotlight: Microsoft Excel 365 Create a Map chart in Excel
- Software Spotlight: Microsoft Power BI
- Spotlight Website: OGC
- Spotlight R Package: sf POINTS, LINES, POLYGONS, GEOMETRY COLLECTION, EMPTY
- Spotlight YouTube: ISRIC 9 Guest Lecture “sf: Simple Features for R”
- Spotlight YouTube: Spatial data science in the Tidyverse - Edzer Pebesma
- Spotlight R Package: leaflet
- Spotlight R Package: tigris
- Spotlight R Package: tidycensus
- Spotlight R Package: tidygeocoder
- Spotlight R Book: R as GIS for Economists
- Spotlight R Book: Geocomputation with R
- Spotlight R Book: Spatial Data Science
- Quarto Notebooks: Still updating to use geom_statebin().
- Google API: howto
- Software Spotlight: Google Sheets, Tips and Tricks
- Software Spotlight: QGIS
- Tableau:
Week 5:
- Quiz: Quiz 1 has been posted as an Assignment. Due Saturday November 18, 2023. I made the deadline in Canvas end of day Saturday because of the MS Exam.
- Homework: How is it going with shinyapps.io? Homework 2 in Tableau File > Export as PowerPoint
- Homework: Homework 3 has been posted.
- Midterm: The Midterm has been posted as an Assignment.
- Quarto Notebook: New code using the sf R package, which is part of the tidyverse.
- Quarto Notebook: spatial4.zip This zipped R project contains the new code using sf from Chapters 17 and 18 in the 2e of the book.
- Spotlight Website: colorbrewer
- Spotlight Website: 0to255.org
- Spotlight Software: Sequential, diverging and qualitative colour scales from colorbrewer.org
- Spotlight Presentation: Color and Themes
- Spitlight blog: 100 amazing color palettes
- Spotlight blog: 100 brilliant color combinations
- Spotlight Website: neon Data
- Spotlight Website: clicktail heatmaps vs zone-based heatmaps
- Spotlight blog: A/B testing
- Tableau: Make the plots from Homework 3 in Tableau.
- Spotlight R package: Choroplethr
- FRED: FRED
- Geo FRED: GeoFRED
- Presentation: Chloropleth Maps and Heatmaps
- Time Series data:
Week 4:
- Quiz: Quiz 1 has been posted. Due Friday November 17, 2023.
- The license for the Desktop version of Tableau has arrived. I have posted the information in Canvas as an Announcement.
- Hints: for Homework 2:
- Homework: How is it going with shinyapps.io? Homework 2 Tableau File > Export as PowerPoint
- Homework: Homework 3 has been posted.
- Optional: Register with Google to use Google maps with ggmap: ggmap Follow the direction to get your key.
- Presentation:
- R code for the Beatles Shiny App: In an R Project using one file.
- Other visualization packages from Python:
- Other visualization package from R:
- Tableau: Tableau Online I still do not have the license for the cloud version.
- Quarto Notebook:
- Quarto Notebook:
- Nathan’s Hot Dog Eating Contest 2022: hotdog 2022
- Nathan’s Hot Dog Eating Contest 2020: hotdog eatting
- Nathan’s Hot Dog Eating Contest 2020: hotdog eatting
- Nathan’s Hot Dog Eating Contest 2018: hotdog eatting
- Quarto Notebooks:
- Spotlight book:
- Spotlight book:
- Spotlight book: R Spatial
- Spotlight blog: r-spatial
- Spotlight blog: spatial.ly
Week 3:
- Latitude: Latitude goes on the y-axis, north-south
- Longitude: Longitude goes on the x-axis, east-west
- Homework: Homework 2 is due next week. See Week 1 for the code for the CIACountries. ggplot2.qmd
- Homework Solution: The solution to Homework 1 will be posted in Canvas this week in the Files folder.
- Conference: 2023 Electronic Undergraduate Statistics Research Conference
- Conference: AI and Data Science Virtual Summit
- Spotlight Website: latlong.net
- Quarto and R Notebooks:
- Cheatsheets:
- Tableau Public: Tableau Public
- Tableau License for Students: Tableau for Students
- Tableau: Try as many of the CIACountries and Beatles visualizations in Tableau.
- Tableau: How do we connect plots in a dashboard? Dashboard > Actions
- Rows: y-axis
- Columns: x-axis
- Shiny App on shinyapp.io: Beatles
- R code for the Beatles Shiny App:
- Shiny:
- DataCamp:
- Spotlight book:
Week 2:
- Book: In the Third Edition of the book some problems have not been added yet and interactive tables and plots do not seem to be working yet, so we will use the Second Edition of the book.
- Tableau License: The student license for Tableau should be available soon and will be posted in Canvas.
- Tableau License for Students: Tableau for Students
- Tableau Public: Tableau Public
- Homework: Homework 2 has been posted. Please refer to the Second Edition of the book.
- Website Spotlight: ggplot2
- Cheatsheet: ggplot2 Cheetsheet
- Website Spotlight: information is beautiful
- Website Spotlight: FiveThirtyEight
- Spotlight blog: Top Data Visualization Software Products
- Tableau: Tableau Online
- Videos: Tableau videos
- Tableau Conference 2020: Youtube Tableau Conference 2020
- Tableau Conference 2021: Youtube Tableau Conference 2021
- Tableau Conference 2022: Youtube Tableau Conference 2022
- Tableau Conference 2023: Youtube Tableau Conference 2023
- Website Spotlight: finance.yahoo
- Spotlight software: htmlwidgets for R
- Spotlight software: Leaflet for R
- Spotlight software: plotly for R
- Spotlight software: dygraphs
- Spotlight software: streamgraph
- Spotlight software: ggplot2 extensions - gallery
- Spotlight software: Shiny
- Spotlight software: Dash
- Quarto Notebook:
- Quarto Notebook: Maps, storms on a map
- Website Spotlight:
Week 1:
- Book:
- Presentation:
- Homework: Homework 1 has been posted.
- Spotlight Website: TED The best Hans Rosling talks you’ve ever seen
- Spotlight Website: Hans Rosling’s 200 Countries, 200 Years, 4 Minutes - The Joy of Stats - BBC Four
- Spotlight Book: Factfulness: Ten Reasons We’re Wrong About the World–and Why Things Are Better Than You Think
- Notebook:
- Spotlight Software:
- Spotlight Blog post: Prime Hints For Running A Data Project In R
- Notebook:
Week 0:
Learning R:
Learning Python:
Learn SQL:
Excellent References:
Data Science:
- Socviz
- r4ds
- ModernDive
- Yarrr!
- R Data Science Essentials
- Python Data Science Essentials
- Deep Learning Made Easy with R
- Doing Data Science
- Data Science from Scratch
- What is Data Science? (fast easy read)
- Ethics and Data Science (fast easy read)
- Data Driven (fast easy read)
- R Markdown: The Definitive Guide
Reading related to the Digital Economy:
- The Second Machine Age: Work, Progress and Prosperity in a Time of Brilliant Technologies
- Race Against the Machine
- Wired For Innovation
- Strategies for e-business success
- Understanding the Digital Economy
More Big Picture:
- Fourth Paradigm of Science: Data-Intensive Scientific Discovery
- McKinsey Global Institute Big Data: The next frontier for innovation, competition, and productivity