Project 2


April 30, 2024

Your task for this project is to create something related to data visualization.

This is intentionally vague – part of the challenge is to design a project that showcases best your interests and strengths.

One requirement is that your project should feature some element that you had to learn on your own. This could be a package you use that we didn’t teach in class (e.g., a package for building 3D visualizations) or a workflow (e.g., making a package) or anything else.

If you’re not sure if your “new” thing counts, just ask!


The details will be updated as the project date approaches.


Your first task is to come up with a goal for your project. Here are a few ideas to help you get started thinking:

  • Build a Shiny app that that has an Instagram-like user interface for applying filters, except not filters but themes for ggplots.
  • Create an R package that provides functionality for a set of ggplot2 themes and/or color palettes.1
  • Build a generative art system.
  • Do a deep dive into accessibility for data visualization and build a lesson plan for creating accessible visualizations with ggplot2, Quarto, and generally within the R ecosystem.
  • Create an interactive and/or animated spatio-temporal visualization on a topic of interest to you, e.g., redistricting, COVID-19, voter suppression, etc.
  • Recreate art pieces with ggplot2.
  • Make a data visualization telling a story and convert it to an illustration, presenting both the computational and artistic piece side by side.
  • Build a dashboard.

And, of course, your project can be about visualizing a dataset of interest to you (similar to your first project). The only rule about this dataset is that it can’t be from TidyTuesday. Beyond that, it should be something truly of interest to your team, and a dataset that allows for a deep exploration.

Most importantly, be prepared to brainstorm a bunch of ideas and discard them until you settle on a topic that everyone in the team is happy with and feels like a good choice for showcasing what you’ve learned in the class and how you can use that to learn something new and implement for your project.


  • Week 1 of project (week of Mon, Mar 11): Meet your team, begin brainstorming ideas for your project.

  • Week 2 of project (week of Mon, Mar 18): Work on developing your project proposal and setting up the structure for your repository.

  • Week 3 of project (week of Mon, Mar 25): Submit your project proposal and conduct peer review on proposals.

  • Week 4 of project (week of Mon, Apr 1): Spring break. Don’t work on the project.

  • Week 5 of project (week of Mon, Apr 8): (Optionally submit an updated version of your proposal), receive instructor feedback, continue working on your project.

  • Week 6 of project (week of Mon, Apr 15): Continue working on your project.

  • Week 7 of project (week of Mon, Apr 22): Conduct another round of peer review.

  • Week 8 of project (week of Mon, Apr 29): Finish and present your project.

Due dates

  • Proposals for peer review: due Thu, Mar 28 at 11:59pm.
  • Revised proposals for instructor review: due Thu, Apr 11 Wed, Apr 10 at 11:59pm.
  • Project drafts for peer review: due Thu, Apr 25 at 11:59pm.
  • Write-up and presentation: due Fri, May 3 at beginning of discussion section.
  • Presentation: due Fri, May 3 at beginning of discussion section.
  • Write-up and all remaining deliverables: Tue, May 7 at 11:59pm.



Your proposal should include:

  • A one sentence description of your high-level goal (such as the ones listed under Ideas above).

  • A one to two paragraph description of your goals, including your motivation. Depending on the focus of your project, the following might go in here.

    • If using particular dataset(s), a brief description of each dataset including the reason why you chose the particular dataset, its dataset, its dimensions and any other relevant metadata. (Make sure to load the data and use inline code for some of this information.)

    • If answering a particular research question, the question itself and the reason why you chose this question.

  • A weekly “plan of attack” outlining your steps to complete your project and including the team member(s) assigned to that task.

  • The final organization of your project repository. This means describing the project organization in your proposal as well as implementing that organization in your repo. Create any folders needed and place a in each folder explaining what goes in there.

Peer review

Reviewer tasks

Each team will review the proposals of two other teams during the project. On those days teams will have access to the project repos of the two teams whose work they’re reviewing.

The peer review assignments are as follows:

Your team name To review 1 To review 2
Gold Jupiter Gold Venus (repo) Gold Saturn (repo)
Gold Mars Gold Jupiter (repo) Gold Venus (repo)
Gold Mercury Gold Mars (repo) Gold Jupiter (repo)
Gold Saturn Gold Mercury (repo) Gold Mars (repo)
Gold Venus Gold Saturn (repo) Gold Mercury (repo)
Red Jupiter Red Neptune (repo) Red Mars (repo)
Red Mars Red Jupiter (repo) Red Neptune (repo)
Red Neptune Red Mars (repo) Red Jupiter (repo)
Yellow Mercury Yellow Saturn (repo) Yellow Mercury (repo)
Yellow Saturn Yellow Mercury (repo) Yellow Saturn (repo)

Teams will develop the review together, with discussion among all team members, but only one team member will submit it as an issue on the project repo. To do so, go to the Issues tab, click on the green New issue button on the top right, and then click on the green Get started button for the issue template titled Peer review.

This will start a new issue with a peer review form that you can fill out. Make sure to update the introductory paragraph with your team name and the names of the team members participating in the review. Then, answer each of the questions in the spaces provided underneath them. You’re expected to be thorough in your review, but this doesn’t necessarily require lengthy responses.

Remember, your goal is to help the team whose project you’re reviewing. The team will not lose points because of issues you point out, as long as they address them before I review their work. You should be critical, but respectful in your review. Also remember that you will be evaluated on the quality of your review. So that’s an additional incentive to do a good job.

Reviewee tasks

Once you receive feedback from your peers, you should address them. You should do this by directly updating your proposal or making any other updates to your repo as needed. You can do these updates all in one commit or you can spread it across multiple commits.

Regardless, in the last commit that addresses the peer review comments, you should use a keyword in your commit message that will close the peer review issues. These words are close, closes, closed, fix, fixes, fixed, resolve, resolves, and resolved and they need to be followed by the issue number (which you can find next to the issue title). So, your commit message can say something like “Finished updates based on peer review, fixes #1”.


Your have a lot more freedom in how you structure your write-up for this project compared to Project 1. This also comes with responsibility. You should make sure you have a clear introduction and a clear conclusion. You should also have other interim section headings that help the reader. Your write-up should be somewhere between 1000 and 2000 words. There is no expectation that you get close to the upper limit, anywhere in that range is fine as long as you have clearly explained yourself. The limits are provided to help you, not to set stressful expectations.


Many project teams are creating interactive web applications, packages, and/or things that are not traditional “reports”. The write-up component is intended to evaluate the design and implementation of whatever “final product” your team creates. Rubric elements will be interpreted by the instructor in light of whatever approach your team takes for the final product.


Your presentation should generally follow the same structure as your write-up. Each team will have 5 minutes for their presentation, and each team member must speak (roughly equally) during this time.

You should create your presentation in a reproducible way, e.g., using Quarto. However you don’t have to use a package that is designed specifically for slides. If you prefer to build a dashboard or a Shiny app or a website, that’s fine too. The only rule is that it’s built reproducibly in R.

Your evaluation will be based on your content, professionalism (including sticking to time), and your performance during the Q&A (question and answer). We don’t care how many slides you use to do this.


Each of your projects will have a website. You can use the same workflow as for your first project or create something different. For example, if your project is building a dashboard, you might consider making your write-up a tab on that dashboard. Or if it’s building a package, you might consider making your website using the pkgdown package. Feel free to google your way around it or ask on the discussion forum or in office hours!

Each of your projects should have some sort of online presence. For instance:

  • Static dashboards can be published using GitHub Pages.
  • Shiny applications can be published using
  • Packages should be organized in the repo so they are directly installable using remotes::install_github(); documentation websites can be generated using pkgdown.
  • Reports or tutorials can be published as a Quarto website.

Repo organization

Since you have complete freedom on the focus of your project, you also have complete freedom on the organization of your repository. But… it should be organized in a logical way!

At a minimum each project should have a README. This can be a that you edit directly or a README.qmd that you edit and render to If your project is analyzing a dataset, you’ll probably want to structure your repo similar to your Project 1 repo. If you’re building a package, it should be structured like a package.


Total 100 pts
Proposal2 10 pts

30 pts

(25 pts from course staff, 5 pts from audience)

Write-up 30 pts
Reproducibility, style, and organization3 10 pts
Within team peer evaluation4 10 pts
Between team peer evaluation5 10 pts

Some of the components are further detailed below.

Note that there will be points allocated to commits from each team member for the proposal, presentation, and write-up.

Proposal (10 points)

  • High level goal
  • Expanded description
  • Plan
  • Repo organization
  • Workflow - Peer review issues closed via commits. (1 point)
  • Teamwork - All team members must contribute to the repo via commits. (1 point)

Presentation (30 points)

Teaching team (25 points)

  • Time management: Did the team divide the time well among themselves or got cut off going over time? (2 points)

  • Professionalism: How well did the team present? Does the presentation appear to be well practiced? Did everyone get a chance to say something meaningful about the project? (2 points)

  • Teamwork: Did the team present a unified story, or did it seem like independent pieces of work patched together? (3 points)

  • Slides: Are the slides (or other presentation medium) well organized, readable, not full of text, featuring figures with legible labels, legends, etc.? (3 points)

  • Creativity / Critical Thought: Is the project carefully thought out? Does it appear that time and effort went into the planning and implementation of the project? (3 points)

  • Content: Including, but not limited to the following: (12 points)

    • Is the question/objective well articulated in the presentation?
    • Can the question/objective be answered with the data?
    • Do(es) the final product answer the question?
    • Do(es) the final product follow good visualization practices?
    • Is/are the conclusion(s) made based on the final product justifiable?
    • Are the limitations carefully considered and articulated?

Peers (5 points)

  • Content: Is the project well designed and is the data being used relevant to the focus of the project? (1 point)

  • Content: Did the team use appropriate methods and did they interpret them accurately? (1 point)

  • Creativity and Critical Thought: Is the project carefully thought out? Are the limitations carefully considered? Does it appear that time and effort went into the planning and implementation of the project? (1 point)

  • Slides: Are the slides (or other presentation medium) well organized, readable, not full of text, featuring figures with legible labels, legends, etc.? (1 point)

  • Professionalism: How well did the team present? Does the presentation appear to be well practiced? Are they reading off of a script? Did everyone get a chance to say something meaningful about the project? (1 point)

Write-up (30 points)

  • Introduction: The introduction provides a clear explanation of the question and the dataset used to answer the question, including a description of all relevant variables in the dataset. (3 points)
  • Justification of approach: The chosen approach and methods are clearly explained and justified. (3 points)
  • Code: Code is correct, easy to read, properly formatted, and properly documented. (10 points)
  • Final product: The final product is appropriate, easy to read, and adheres to best-practices as taught in this class. (10 points)
  • Discussion: Discussion of results is clear and correct, and it has some depth without begin excessively long. (4 points)

Reproducibility, style, and organization (10 points)

  • All required files are provided. Quarto files render without issues and reproduce the necessary outputs. If building a package, the checks pass. (3 points)
  • If there’s a dataset, it’s provided in a data folder, a codebook is provided, and a local copy of the data file is used where needed. (3 points)
  • Documents are well structured and easy to follow. No extraneous materials. (2 points)
  • All issues are closed, mostly with specific commits addressing them. (2 points)


Please use the project repository that has been created for your team to complete your project. Everything should be done reproducibly. This means that I should be able to clone your repo and reproduce everything you’ve submitted as part of your project.

All results presented must have corresponding code. If you do calculations by hand instead of using R and then report the results from the calculations, you will not receive credit for those calculations. Any answers/results given without the corresponding R code that generated the result will not be considered. For example, if you’re reporting the number of observations in your dataset, don’t just write the number manually, use inline R code to calculate the number.

All code reported in your final project document should work properly. Please do not include any extraneous code or code which produces error messages. Code which produces certain warnings and messages is acceptable, as long as you understand what the warnings mean. In such cases you can add warning: false and message: false in the relevant R chunks. Warnings that signal lifecycle changes (e.g., a function is deprecated and there’s a newer/better function out there) should generally be addressed by updating your code, not just by hiding the warning.


  • We hope some of you will take the challenge to be adventurous and learn some new skills as part of this project. We’re happy to support you along the way, so don’t hesitate to ask as many questions as needed!

  • You’re working in the same repo as your teammates now, so merge conflicts will happen, issues will arise, and that’s fine! Commit and push often, and ask questions when stuck.

  • Review the marking guidelines below and ask questions if any of the expectations are unclear.

  • Make sure each team member is contributing, both in terms of quality and quantity of contribution (we will be reviewing commits from different team members).

  • Set aside time to work together and apart (physically).

  • Code:

    • In your presentation your code should be hidden (echo: false) so that your slides are neat and easy to read. However your document should include all your code such that if I re-render your Quarto file I should be able to obtain the results you presented. Exception: If you want to highlight something specific about a piece of code, you’re welcome to show that portion.
  • Teamwork: You are to complete the assignment as a team. All team members are expected to contribute equally to the completion of this assignment and team evaluations will be given at its completion - anyone judged to not have sufficient contributed to the final product will have their grade reduced. While different teams members may have different backgrounds and abilities, it is the responsibility of every team member to understand how and why all code and approaches in the assignment works.

  • When you’re done, review the documents on GitHub to make sure you’re happy with the final state of your work. Then go get some rest!


  1. Never built an R package before? See for a great introduction.↩︎

  2. Your proposal score will also take into consideration how much you’ve improved your proposal based on peer feedback.↩︎

  3. Style and format does count for this assignment, so please take the time to make sure everything looks good and your data and code are properly formatted.↩︎

  4. This relates to your contribution to the teamwork and how your team members evaluate this contribution. Scores for each teammate will be different for this component of the project grade.↩︎

  5. This relates to the quality and quantity of the peer review you provide for other teams.↩︎