Homework 1

Personal Website; ggplot Visualization

Author

Byeong-Hak Choe

Published

February 17, 2025

Modified

February 17, 2025

Direction

  • Please submit your Quarto Document for Part 2 in Homework 1 to Brightspace with the name below:

    • danl-310-hw1-LASTNAME-FIRSTNAME.qmd
      ( e.g., danl-310-hw1-choe-byeonghak.qmd )
  • The due is February 19, 2024, 2:00 P.M.

  • Please send Byeong-Hak an email (bchoe@geneseo.edu) if you have any questions.




Part 1. Personal Website

  1. Decorate your website:
  • Replace YOUR NAME with your name in _quarto.yml and index.qmd.
  • Describe yourself in index.qmd.
  • Add the picture file (e.g., png) of your profile photo to img directory. Then correct img/profile.png in index.qmd accordingly.
  • Add the PDF file of your resumé to the website working directory in your laptop.
  • Correct links for your resumé, LinkedIn, email, and optionally social media.
  • Make sure that you do not have any broken links in your website.
  1. Add a “ggplot Basics” blog post to your blog using Quarto document.
  • In your “ggplot Basics” blog post, briefly explain ggplot basics we discussed in Lecture 3, Lecture 4, and Classwork 4
  • Choose a proper image file for a thumbnail for a blog post.
  • An YAML header template for a blog post can be found below, including an image option:
---
title: BLOG_TITLE
author: YOUR_NAME
date: 2025-02-14
categories: [tag_1, tag_2, tag_3] # tags for a blog post (e.g., python)
image: image.png 

execute: 
  warning: false
  message: false
  
toc: true
---
  1. Use the 3-step git commands (git add ., git commit -m "...", and git push) to update your online website.




Part 2. ggplot visualization

Provide ggplot codes to replicate the given figures.

Use the following data.frame for Question 1, 2, and 3.

ncdc_temp <- read_csv(
  'https://bcdanl.github.io/data/ncdc_temp_cleaned.csv')


Question 1



Question 2



Question 3

Use ggridges::geom_density_ridges() for Question 3.



Question 4

Use datasets::mtcars for Question 4.




Question 5

Use the following data.frame for Question 5.

popgrowth_df <- read_csv(
  'https://bcdanl.github.io/data/popgrowth.csv')




Question 6

Use the following data.frame for Question 6

male_Aus <- read_csv(
  'https://bcdanl.github.io/data/aus_athletics_male.csv')




Question 7

Use the following data.frame for Question 7

titanic <- read_csv(
  'https://bcdanl.github.io/data/titanic_cleaned.csv')




Question 8

Use the following data.frame for Question 8.

cows_filtered <- read_csv(
  'https://bcdanl.github.io/data/cows_filtered.csv')



Question 9

Provide your GitHub username.



Back to top