diff --git a/files/img/dataviz-flowchart.png b/files/img/dataviz-flowchart.png new file mode 100644 index 0000000..bd47e8a Binary files /dev/null and b/files/img/dataviz-flowchart.png differ diff --git a/html/home/title-block.html b/html/home/title-block.html new file mode 100644 index 0000000..1a048a0 --- /dev/null +++ b/html/home/title-block.html @@ -0,0 +1,20 @@ +
$subtitle$
+{{< fa calendar-alt >}} Download
+::: + +::: {.g-col-12 .g-col-md-10} + +::: + +::: + +::: + + +```{r build-table, include=FALSE} +show_table <- function(group_id) { + # Add a heading + cat(as.character(paste("\n\n###", schedule_nested$group[[group_id]], "\n\n"))) + + # Make the table + tbl <- schedule_nested$data[[group_id]] %>% + select(-subgroup) %>% + kbl(escape = FALSE, align = "rlccc", table.attr = 'class="schedule-table"') %>% + kable_styling() %>% + column_spec(1, width = "20%", extra_css = "padding-right: 20px;") %>% + column_spec(2, width = "50%") %>% + column_spec(3:5, width = "10%") %>% + pack_rows(index = schedule_nested$subgroup_index[[group_id]], + label_row_css = "border-bottom: 2px solid #000000;") + + cat(tbl) +} +``` + +```{r show-table, echo=FALSE, results="asis"} +# walk(seq(1, nrow(schedule_nested)), ~show_table(.x)) +``` + +::: diff --git a/syllabus.qmd b/syllabus.qmd new file mode 100644 index 0000000..e213e70 --- /dev/null +++ b/syllabus.qmd @@ -0,0 +1,236 @@ +--- +title: Syllabus +--- + +```{r setup, message=FALSE, warning=FALSE, include=FALSE} +library(dplyr) +library(tibble) +library(pander) +``` + +## Course objectives + +**Data rarely speaks for itself.** On their own, the facts contained in raw data are difficult to understand, and in the absence of beauty and order, it is impossible to understand the truth that the data shows. + +In this class, you'll learn how to use industry-standard graphic and data design techniques to create beautiful, understandable visualizations and uncover truth in data. + +By the end of this course, you will become (1) literate in data and graphic design principles, and (2) an ethical data communicator, by producing beautiful, powerful, and clear visualizations of your own data. Specifically, you should: + +- Understand the principles of data and graphic design +- Evaluate the credibility, ethics, and aesthetics of data visualizations +- Create well-designed data visualizations with appropriate tools +- Share data and graphics in open forums +- Be curious and confident in consuming and producing data visualizations + +This class will expose you to [R](https://cran.r-project.org/)—one of the most popular, sought-after, and in-demand statistical programming languages. Armed with the foundation of R skills you'll learn in this class, you'll know enough to be able to find how to visualize and analyze any sort of data-based question in the future. + + +## Important pep talk! + +I *promise* you can succeed in this class. + +Learning R can be difficult at first—it's like learning a new language, just like Spanish, French, or Chinese. Hadley Wickham—the chief data scientist at RStudio and the author of some amazing R packages you'll be using like **ggplot2**—[made this wise observation](https://r-posts.com/advice-to-young-and-old-programmers-a-conversation-with-hadley-wickham/): + +> It's easy when you start out programming to get really frustrated and think, "Oh it's me, I'm really stupid," or, "I'm not made out to program." But, that is absolutely not the case. Everyone gets frustrated. I still get frustrated occasionally when writing R code. It's just a natural part of programming. So, it happens to everyone and gets less and less over time. Don't blame yourself. Just take a break, do something fun, and then come back and try again later. + +Even experienced programmers find themselves bashing their heads against seemingly intractable errors. If you're finding yourself taking way too long hitting your head against a wall and not understanding, take a break, talk to classmates, e-mail me, etc. + +```{r echo=FALSE, out.width="60%"} +# https://twitter.com/allison_horst/status/1213275783675822080 +knitr::include_graphics("/files/img/syllabus/hosrt_error_tweet.png", error = FALSE) +``` + +[![Alison Horst: Gator error](/files/img/syllabus/gator_error.jpg)](https://twitter.com/allison_horst/status/1213275783675822080) + + +## Course materials + +All of the readings and software in this class are **free**. There are free online version of all the textbooks, R and RStudio are inherently free, and GSU provides [free access to Adobe Illustrator](https://technology.gsu.edu/technology-services/it-services/software-computer-purchase/software-download-and-purchase/adobe-creative-cloud/). + +### Books, articles, and other materials + +We'll rely heavily on these books, which are all available online (**for free!**). I recommend getting the printed versions of these books if you are interested, but it is not required. + +- Alberto Cairo, *The Truthful Art: Data, Charts, and Maps for Communication* (Berkeley, California: New Riders, 2016). + + > $27 used, $32 new at [Amazon](https://www.amazon.com/Truthful-Art-Data-Charts-Communication/dp/0321934075). A **free** eBook version is available through GSU's library through O'Reilly's Higher Education database. The easiest way to access it is to visit a special URL (