||COMP 488-001 (in-person flipped with
several online meetings)
COMP 488-002 (online)
Course IDs: 6187, 6918
||Thursday, 4:15 - 6:45
||Cuneo Hall, Room 117
||COMP 271 or Instructor Permission
||Dr. Channah Naiman
|to be announced
Doyle Center 205, x. 88113 (I don't really check this number.
please email me!!)
Our classroom is available at 3:45, and it is also free after class.
This course introduces students to the concepts and techniques of
Data Visualization for exploration and explanation of a dataset.
Students learn the guidelines for good visualizations; how to
select a visualization appropriate to a specific application; and
modern tools used in constructing visualzaitons, including R-ggplot,
Excel's Pivot Tables, and Tableau.
Students will be able to select and construct appropriate
visualziations for different applications, using a range of tools and
- Appreciate the role of Data Visualization in various domains
- identify good and bad visualizations, and the criteria to
- Select the appropriate visualization for a
- Use various tools and techniques to construct a range of
visualizations for both exploration and explanation
- Learn to "tell a story" about your data using visualization
Materials: All of the material (texts, labs and
you need for this course is available for free online, at various sites:
the Intro to
Data Visualization module of the course, links are provided in the
Course Schedule and on Sakai under the appropriate topic. Some
important links include:
the R module of the course, below are the main links (in effect, the
"text" for this part of the cousre). Additional links are
in Course Schedule or Sakai topic.
- Jared Lander. R for
Analytics and Graphics 2nd edition, Addison-Wesley, 2017.
You do not need to buy
the book. There is a free 48-page preview
of the first edition available at the Pearson site. There are
also many sites
where you can sign up to be able to download a pdf. However,
walked through many
are inspired by this text.
- Alboukadel Kassambara. Guide
to Create Beautiful
Graphics in R, STHDA, 2013. isbn:
9781532916960. Most examples, with small
modifications, are available on his wonderful website
and his R
text. Comprehensive book on R, not just for
visualization, but chapters on viz also.
- Nice site for playing with
resources in R and ggplot are endless! Datacamp, and many,
- If you are interested in the statistical side of R, you
may want this book as an R
- For the Tablea module of the course, there are many sites and
youtube videos. Just touching the surface with some links used in
- There are too many support sites, blogs and videos to
mention. Stackoverflow is one that deserves mention, but there
are many others.
- Course Support:
- Assignment submission and grades will be maintained on Sakai.
- We will be using R and RStudio for the R module of the
- We willbe using both Tableau Public and Talbeau Desktop for the
Tableau module of the course:
As of this writing, Sakai will be used for course
homework submissions, and grade postings. While the raw
posted on Sakai should be correct (although I have encountered some
problems with that too!), please do not rely upon Sakai's Course Total
calculations. Usually, they are okay, but there have been
problems. I check the total grade postings periodically, to
check up on Sakai's calculations. Certainly, before the
mid-term grade posting on Locus, and before the drop deadlines, check
your grades (and I will too!) Grades are calculated as
specified in this
This class is almost completely
"flipped". There are videos for lectures and "lab prep". It
is important to come prepared to class, since you will be working on
labs and assignments during class time. Generally, labs and
assignments are completed in class and are due at the end of the class
session in which they are listed. Exceptions will be noted in
class and/or posted on Sakai. Often, lab materials will not
become available until the beginning of the class session.
Cell Phones: Only
the relative importance of any particular
cell phone call, and whether it is important for you to answer a call
immediately rather than later. I do want you to be respectful of your
classmates and disrupt the class as little as is practical.
If you get cell phone
calls with fair frequency, be sure to have the ring muted before coming
to class. If you rarely get calls, you might not mute it ahead, and
your cell phone may happen to ring. Get rid of the noise as soon as
possible, and do not get flustered. I assume you will move outside the
classroom for a conversation. If you get fairly frequent calls that you
are likely to consider important answering, sit in a place where your
exit and re-entrance are as unobtrusive as possible.
Labs and assignments are usually required to be completed during
class time. Due dates are listed in the syllabus on the Course
Schedule. You may usually submit your work with a
partner. Exceptions will be noted in class. However, every student must submit something in Sakai: either
submit the lab/assignment, or submit a comment telling me who is
the assignment on your behalf. If you are submitting on behalf
of your partner, please submit a comment in the
Sakai Assignment box to that effect.
You will form teams of two to complete a project,
is a major visualization assignment in R and Tableau. The project will be
discussed further in class.
Environment: Campus Network, Rights and
As a user of the campus network, you should be aware of your rights and
Much of your work will be done on your laptop, on your local server,
and on our class server. So I don't think there will be an
with saving your work. However, if you use the University
computers, be aware that the University computers labs provide Computer
Science students with
permanent storage on P: drive. If you use both computer lab machines
and other machines, or just share with a partner, you will want to take
all of your files with you. You can use a flash drive, Google Drive,
Mercurial and BitBucket, Box, or, in a pinch, send an email to yourself
or your partners wtih attachements.
The penalty for cheating may be anywhere from a 0 on an assignment to a
grade of "F" in this course. The appropriate dean will be informed in
writing of any cheating incidents. No exceptions, for any reason.
Cheating consists of, but is not limited to:
Help from any source is fine concerning
- Using or copying an outside person's work on an exam or
assignment in any fashion. "Outside person" includes a person who put
something on a web page. It has become depressingly familiar for me,
most every semester, meting out penalties for using someone else's work
on the web. Do not do it.
- Anything that vaguely resembles something from any
- Work includes outlines, pseudocode, code, and documentation.
- Allowing your own work to be copied or used by an outside
- Submitting as your own work something that has been written
outside person (or web site).
- Using any unauthorized reference on an exam or assignment
- Not acknowledging and describing in writing on an
help you received or gave.
- If you are working on a pair or group project, an "outside
person" only refers to people other than your assigned partner or team.
- Note that cheating goes both ways: both giving and
- Consultation is allowed with the TA (if we are fortunate
to get one) and with me. If you
consult with the TA and/or with me, still make a comment at the top
of your work about the substance and depth of the help.
Exams: As of thsi writing, there
are no exams. There is a culminating assignment in R, after the R
module of the course, and the Project is in lieu of a final exam.
- The meaning of program or query specifications (not the
solution or the actual solution).
- The tools used to write programs.
- The restrictions of the current programming language syntax.
Holidays: Students with religious holiday
let me know
within the first two weeks of class if you have a religious holiday
conflict with any exam or homework due date, so that we can plan on an
with Disabilities: If you have a documented
and wish to discuss academic accommodations, please contact the Student
Accessibility Center (773-508-3700 and
SAC@luc.edu) as soon as possible.
Students with documented disabilities who provide me with
letter from the SAC office will be fully accommodated as per the terms
of the letter. Students who are allowed to take their exams
the SAC office are encouraged to do so. Should you choose to
take the exam in the classroom, I cannot guarantee that the classroom
environment will be quiet enough to provide you with the environment
that your disability may require. If you choose to take the
exam in the classroom, you are taking that risk.
with Sponsorships and Scholarships:
If you require a certain
grade in order to satisfy a sponsor or a scholarship requirement,
please be sure to monitor your grade on Sakai. I will
only your performance in this course in calculating grades, using the
grading breakdown posted in this syllabus. If you cannot
minimum grade that is required by a sponsor or a scholarship, I will
not change your grade to help you meet that requirement. This
would be unfair to other students, and not reflecive of your
performance in this course. You are reponsible to monitor
grade and to keep apprised of the withdrawal
posted by the registrar.
There are 1005 possible points in the course. No extra
credit points avaialble. Grading is out of 1000 points (so 5
extra built in).
|Syllabus and Tour of
|R and R Studio Installation
|Tableau Public Installation
|Tableau Desktop Installation
|In-class: Intro R
Motivating Example questions
qplot and ggplot
|In-class: ggplot 2-dim lab assignment
Tableau Gallery Critique and project-relevant features
DUE: completed .tbwx workbooks
Project-relevant features from labs
|In-Class: using new
Marks for your project.
DUE: Recreate WDC video workbook
Drill down in your project, (or the SuperStore)
Going beyond in your project
Schedule (a listing of topics, with approximate time frame):
The dates below give the sequence and a general idea of the
spent, though we may get ahead or behind this time schedule at
different points, depending on the needs of the class. Be
to keep up with where we really are in class. There will be
weekly updates on Sakai, reflecting what we actually cover (and
therefore what is due, and when).
for the first lecture and the exam, every lecture is a lab. You are
to paricipate in all labs. Some assignments are listed as
"homework", but are actually started togeher in class, similarly to a
"lab". So the rule of thumb is: You have to be in
everything, and complete all assignments the way you are instructed to
- Intro to DataViz: (video) PPTs
- What is it, why is it important? What story
do you want to tell?
- Tufte's Design Principles
- Cleveland and McGill
- Preattentive Processing
- Selecting the right chart
- Use of color
|Assign: HW: Visualization
DUE (9/03): Orientation Video Tour of the Course
In-class: Intro R
- Motivating Example (DataViz in the context of an
exploration/explanation epidemiology example.) project zip file
- Loading and data prep nhanes3 (video)
- Basic Exploration of Variables; cor; tapply, sapply (video)
- Data Management: cbind, subsetting; extract variables (video)
- Basic R plots focus on barplot, counting, table (video)
- Intro to ggplot (video)
|In-Class: Motivations in the motivating example
||In-Class: RBase Graphics
||In-Class: Intro ggplot one-variable lab
- ggplot two-variable plots same type project zip file
- ggplot 2-dim-same-type-scatter (video)
- ggplot-2-dim-same-type-text and also jitter (video)
- ggplot-2-dim-same-bivariate-facet-lines (video)
In-Class: ggplot, two-variable
||In-Class: begin ggplot Homework
(complete as homework)
||DUE: ggplot Homework
||In-Class: Tableau Public
Gallery critique and features. Similar to your first assignment,
but on Tableau Public Gallery. Present at the end of class.
- Complete the following workbooks before class. These are
comprehensive examples, with many features and different types of
specific features, visualization types, etc., from the Simply Learn
labs that might be appropriate for your project.
||In-class: Create 1-3 worksheets for your project with at least 3 marks from the marks shown in the lab workbook.
- Lab-Prep: Drill Down (watch, but you are not required to recreate) video workbook dataset
- Lab-Prep: Web Data Connectors (you are required to recreate) video ppts
Create a worksheet using drill-down with your project. If your
project dataset is not appropriate for use with drill down, you may use
the SuperStore dataset.
- Independent research on advanced visualizations. Possible sources
- 50 tips in 50 minutes video
- 50 charts in 50 minutes video
- Super Data Science--home page of multiple charts! Datasets
for the charts listed below can be found on the home page. But I
have provided youtube video links for the specific charts.
- Sankey Diagram video
- The video uses an "open with" option and an older way of performing the self-union. Please see my updates here.
- This is a difficult lab, using "data densification" and some complicated concepts and calculations.
- Sunburst Chart video Part 1 video Part 2 my update notes
- This chart requires reformatting data to a specific format
- Likert scale video (three-way join, pivoting data, not too hard)
- WordCloud video
- For your project, you may want to provide a new worksheet that has the words that will be used for your worksheet.
- Waterfall Chart video
- Funnel Chart video
- Lollipop, Dumbells, Slope, Butterfly (Diverging Bar Chart)
- and more!!!
- Practically anything by Ryan Sleeper
|In-class: Incorporate an advanced or independently-researched feature into your project
|DUE on 12/05: Any late assignments, with permission, for half credit
|| DUE: Project
Please refer to the the LUC