Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create chapter 2 content #36

Draft
wants to merge 43 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4179628
add datasets and data processing for chapter 2 intro exercise
rorywhite200 Sep 12, 2024
99fbada
add first section of chapter 2 and update yaml
rorywhite200 Sep 12, 2024
bffec8c
Merge remote-tracking branch 'origin/main' into chapter-2-draft
rorywhite200 Sep 19, 2024
02645f0
add simpson's paradox, grouping details, color section and shape viz
rorywhite200 Sep 19, 2024
555bc27
add chapter 2 to yaml
rorywhite200 Sep 19, 2024
622d278
rename chapter and change import in yaml
rorywhite200 Sep 19, 2024
e5e6409
Update shape section of chapter 2
rorywhite200 Sep 23, 2024
28c9c31
Convert color section from bullets to paragraphs
rorywhite200 Sep 23, 2024
b1ee47f
update opening exercise to use alternative data and approach
rorywhite200 Oct 3, 2024
6bdbbd4
add mental wellbeing data and image
rorywhite200 Oct 7, 2024
3cf3c57
add 50+ life expectancy data from IHME
rorywhite200 Oct 7, 2024
06f7cab
update life expectancy script to merge with income data, add csv and …
rorywhite200 Oct 7, 2024
a820654
add income to initial exercise, add position section, update visualiz…
rorywhite200 Oct 7, 2024
0533b45
implement Joel's suggestions
rorywhite200 Oct 11, 2024
2cec887
refine text
rorywhite200 Oct 11, 2024
762c725
adjust wording and add faceting
rorywhite200 Oct 11, 2024
d953d35
add jitterbug image
rorywhite200 Oct 17, 2024
77769d0
add position exercise, faceting exercise and update text
rorywhite200 Oct 17, 2024
f44fb06
add raw data, script and processed data for mental wellbeing
rorywhite200 Oct 18, 2024
58f1057
tidy chapter and improve mission exercise
rorywhite200 Oct 18, 2024
6a78cf6
improve ggplot formatting and add ggplot solutions for mission
rorywhite200 Oct 18, 2024
bb15e36
Apply suggestions from code review
rorywhite200 Nov 4, 2024
f9b5ddf
Update wording of initial teaser exercise
rorywhite200 Nov 4, 2024
d05c90e
Wording updates, code revisions from Joel's suggestions
rorywhite200 Nov 4, 2024
cd9afc4
Fix YAML cell errors and block placement
rorywhite200 Nov 4, 2024
57d384d
Change life expectancy data to at age 65 (retirement) and include foo…
rorywhite200 Nov 4, 2024
f820603
add initial grouping viz to demonstrate comparing values
rorywhite200 Nov 4, 2024
84ac99d
add ref for color as preattentive feature
rorywhite200 Nov 4, 2024
fc74881
move position exercise below jittering and change bridging paragraph
rorywhite200 Nov 4, 2024
b85841a
Add reference for World Bank and remove old references to life expect…
rorywhite200 Nov 4, 2024
9d7703d
Be explicit about that the first box has a chapter summary
joelostblom Nov 7, 2024
7f2e116
Format points to avoid redundant spacing
joelostblom Nov 7, 2024
294e9a6
Improve language and flow
joelostblom Nov 7, 2024
02594bb
Hide code consistently
joelostblom Nov 7, 2024
5ed9efe
Improve language and flow
joelostblom Nov 8, 2024
c8e9725
Make R more silent
joelostblom Nov 8, 2024
3362631
Improve language and flow
joelostblom Nov 8, 2024
6fbd119
Use more flexible aes and facet syntax
joelostblom Nov 8, 2024
9d5738b
Fix typo
joelostblom Nov 8, 2024
bca1a73
Improve language and flow
joelostblom Nov 8, 2024
112bcbc
Add example of narrowing jittered points
joelostblom Nov 8, 2024
098faea
add file with simpsons paradox data processing
rorywhite200 Nov 20, 2024
26005e4
Merge branch 'chapter-2-draft' of github.com:joelostblom/viz-oer into…
rorywhite200 Nov 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,152 changes: 1,152 additions & 0 deletions textbook/2_grouping.qmd

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion textbook/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ book:
- index.qmd
- 0_chapter-key.qmd
- 1_intro.qmd
- 2_grouping.qmd

filters:
- custom-callouts.lua
Expand All @@ -24,4 +25,4 @@ webr:
packages:
- dplyr
- readr
- ggplot2
- ggplot2
205 changes: 205 additions & 0 deletions textbook/data/IHME-GBD_2021_DATA-446de514-1.csv

Large diffs are not rendered by default.

205 changes: 205 additions & 0 deletions textbook/data/IHME-GBD_2021_DATA-dfbd7b8b-1.csv

Large diffs are not rendered by default.

477 changes: 477 additions & 0 deletions textbook/data/MH_data_processed_3.csv

Large diffs are not rendered by default.

Binary file added textbook/data/MSW_2023_Data_Tables.xlsx
Binary file not shown.
250 changes: 250 additions & 0 deletions textbook/data/continents.csv

Large diffs are not rendered by default.

193 changes: 193 additions & 0 deletions textbook/data/income_lifeexp_alcohol.csv

Large diffs are not rendered by default.

Loading
Loading