-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
242de9b
commit 4a13197
Showing
4 changed files
with
110 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -313,6 +313,36 @@ Shows percentage change. | |
::: | ||
|
||
|
||
## Averages {.smaller} | ||
|
||
::: columns | ||
::: {.column width="50%"} | ||
![](media/mean-median.svg){height="600"} | ||
::: | ||
|
||
::: {.column width="50%"} | ||
### =MODE() | ||
|
||
Finds the most common value in a range. | ||
|
||
| ||
| ||
|
||
### =MEDIAN() | ||
|
||
Finds the value that's right in the middle of a dataset. | ||
|
||
| ||
| ||
|
||
### =AVERAGE() | ||
|
||
Sum all the values and divide by the number of records. | ||
|
||
::: | ||
::: | ||
|
||
|
||
## How did the Mail do it? | ||
|
||
::: columns | ||
|
@@ -533,20 +563,21 @@ Same as =XLOOKUP() but more flexible and easier to grasp. | |
- [[email protected]](mailto:[email protected]) | ||
- [[email protected]](mailto:[email protected]) | ||
|
||
# Week 3 | ||
|
||
<!-- Pad this week out, add more content (about 25%) --> | ||
# Week 3 | ||
|
||
Introduction to [Data Journalism]<br> | ||
<a href='https://ddj.nicu.md/city/'>https://ddj.nicu.md/city/</a> | ||
|
||
|
||
## Toolbox | ||
|
||
<iframe class="stretch" data-src="https://ddj.nicu.md/toolbox/"></iframe> | ||
::: footer | ||
Source: [ddj.nicu.md](https://ddj.nicu.md/toolbox/) | ||
::: | ||
|
||
|
||
## XLOOKUP | ||
|
||
``` scala | ||
|
@@ -555,6 +586,13 @@ Source: [ddj.nicu.md](https://ddj.nicu.md/toolbox/) | |
|
||
![](media/xlookup.png) | ||
|
||
|
||
## XLOOKUP exercise | ||
|
||
1. Make a copy of [this spreadsheet](https://docs.google.com/spreadsheets/d/1FwMl1kJGsIqKe0K0L0V-zIPh_uk9C3fqDka6A5G1CBY/copy). | ||
2. Fill in the empty columns with formulas we learned last time. | ||
|
||
|
||
## Pivot Tables {.smaller} | ||
|
||
Pivot tables are extra tables in your spreadsheet, in which you can summarise data from your original table. | ||
|
@@ -563,6 +601,15 @@ You can calculate averages, counts, max/min values or sums for numbers in a grou | |
|
||
![](media/pivot-recipe.png) | ||
|
||
|
||
## Pivot table exercise | ||
|
||
1. Make a copy of [this spreadsheet](https://docs.google.com/spreadsheets/d/1-Jk4Zo5pTgGwXIeBEgzxn00IBjrxlxbmuf-ICW-4Am8/copy). | ||
2. <iframe src="https://giphy.com/embed/oCjCwnuLpiWbfMb1UA" width="480" height="270" frameBorder="0" class="giphy-embed" allowFullScreen></iframe> | ||
|
||
Bonus points: Grab a CSV from [police.uk](https://data.police.uk/data/) and do it yourself. | ||
|
||
|
||
## Averages {.smaller} | ||
|
||
::: columns | ||
|
@@ -592,20 +639,6 @@ Sum all the values and divide by the number of records. | |
::: | ||
::: | ||
|
||
## XLOOKUP exercise | ||
|
||
1. Make a copy of [this spreadsheet](https://docs.google.com/spreadsheets/d/1FwMl1kJGsIqKe0K0L0V-zIPh_uk9C3fqDka6A5G1CBY/copy). | ||
2. Fill in the empty columns with formulas we learned last time. | ||
|
||
## Pivot table exercise | ||
|
||
1. Make a copy of [this spreadsheet](https://docs.google.com/spreadsheets/d/1-Jk4Zo5pTgGwXIeBEgzxn00IBjrxlxbmuf-ICW-4Am8/copy). | ||
2. <iframe src="https://giphy.com/embed/oCjCwnuLpiWbfMb1UA" width="480" height="270" frameBorder="0" class="giphy-embed" allowFullScreen></iframe> | ||
|
||
Bonus points: Grab a CSV from [police.uk](https://data.police.uk/data/) and do it yourself. | ||
|
||
::: notes | ||
::: | ||
|
||
## Contact | ||
|
||
|
@@ -808,27 +841,6 @@ Data [Stories]<br> | |
<a href='https://ddj.nicu.md/city/'>https://ddj.nicu.md/city/</a> | ||
## 30-day challenge (Erwan) {fullscreen=true} | ||
![](https://blog.datawrapper.de/wp-content/uploads/2023/11/F-MswaAW0AAwFRP.jpeg){.absolute height="600"} | ||
::: footer | ||
Source: [Erwan Rivault](https://twitter.com/ErwanRivault/status/1721275486687433026/photo/1) | ||
::: | ||
## 30-day challenge (Jana) {fullscreen=true} | ||
![](https://blog.datawrapper.de/wp-content/uploads/2023/11/F-G8R9ZW0AAso94.jpeg){.absolute height="600"} | ||
::: footer | ||
Source: [Jana Tauschinski](https://twitter.com/ErwanRivault/status/1721275486687433026/photo/1) | ||
::: | ||
## {fullscreen=true} | ||
![](https://blog.datawrapper.de/wp-content/uploads/2023/11/image6.png){.absolute height="700"} | ||
::: footer | ||
Source: [FT](https://www.ft.com/content/ed739236-7430-4dc1-95f5-4a23534d8841) | ||
::: | ||
## Why do we visualise data? {background-color="#e9e9e9"} | ||
Summarising data, like we did in previous lessons, is not always enough to reveal pattern or trends. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters