Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed May 10, 2024
1 parent 358a638 commit a73609c
Show file tree
Hide file tree
Showing 17 changed files with 260 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
83aa3a7e
a647a828
22 changes: 11 additions & 11 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,46 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/07-fair.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/06-machine-learning.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/08-viz.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/05-hpc.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/02-reproducibility.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/about.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/index.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/01-introduction.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/04-stats-with-big-data.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/09-ethics.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
<url>
<loc>https://uw-psych.github.io/psych532-slides/slides/03-working-with-big-data.html</loc>
<lastmod>2024-05-06T17:50:56.048Z</lastmod>
<lastmod>2024-05-10T23:14:26.237Z</lastmod>
</url>
</urlset>
183 changes: 182 additions & 1 deletion slides/08-viz.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,189 @@ <h1 class="title">Data Visualization with Big Data</h1>
</div>

</section>
<section class="slide level2">
<section id="why-visualize" class="title-slide slide level1 center">
<h1>Why visualize?</h1>
<ul>
<li class="fragment">We’ve already seen that visualizations are an important data analysis tool (Loftus)</li>
<li class="fragment">Visualization for analysis vs.&nbsp;visualization for communication:
<ul>
<li class="fragment">“Reveal relationships in large datasets…”</li>
<li class="fragment">“…and communicate information to a broad audience”</li>
<li class="fragment">Not necessarily the same thing!</li>
</ul></li>
</ul>
</section>

<section id="reveal-relationships" class="title-slide slide level1 center">
<h1>Reveal relationships</h1>
<div class="fragment">
<p>… in large datasets?</p>
<p><img data-src="./images/anscombe.png"></p>
</div>
</section>

<section id="a-few-basic-items" class="title-slide slide level1 center">
<h1>A few basic items</h1>
<p>From Allen et al.&nbsp;(2012)</p>
<ul>
<li class="fragment">Are the axes labeled?</li>
<li class="fragment">Are scales and units indicated?</li>
<li class="fragment">Is there a measure of uncertainty (e.g., error bars)?</li>
<li class="fragment">Is the type of uncertainty (e.g., SEM, CI, …) indicated?</li>
</ul>
</section>

<section id="show-more-hide-less" class="title-slide slide level1 center">
<h1>Show more, hide less</h1>
<ul>
<li class="fragment">From bar plots …</li>
<li class="fragment">… to box plots …</li>
<li class="fragment">… to swarm plots, violin plots, …</li>
</ul>
</section>

<section id="show-more-hide-less-1" class="title-slide slide level1 center">
<h1>Show more, hide less</h1>

<img data-src="./images/allen2.png" class="r-stretch"></section>

<section id="raincloud-plots" class="title-slide slide level1 center">
<h1>…raincloud plots</h1>

<img data-src="./images/raincloudplot.png" class="r-stretch"><p>See https://github.com/jorvlan/raincloudplots</p>
</section>

<section id="even-with-repeated-measures" class="title-slide slide level1 center">
<h1>Even with repeated measures</h1>

<img data-src="./images/raincloudplot_repmes.png" class="r-stretch"><p>See https://github.com/jorvlan/raincloudplots</p>
</section>

<section id="increasing-the-information-density" class="title-slide slide level1 center">
<h1>Increasing the information density</h1>

<img data-src="./images/allen3_detail.png" class="r-stretch"></section>

<section id="using-color" class="title-slide slide level1 center">
<h1>Using color</h1>
<ul>
<li class="fragment">Think about accessibility
<ul>
<li class="fragment">About 5-8% of males + 0.5-1% of females cannot distinguish certain shades of red and green</li>
</ul></li>
<li class="fragment">Color is itself multidimensional
<ul>
<li class="fragment">Can use hue and saturation/transparency independently</li>
</ul></li>
<li class="fragment">Using the right colormap matters
<ul>
<li class="fragment">Color maps: each number maps to a color</li>
<li class="fragment">Avoid colormaps that are not perceptually uniform</li>
</ul></li>
</ul>
</section>

<section id="perceptually-uniform-colormaps" class="title-slide slide level1 center">
<h1>Perceptually uniform colormaps</h1>

<img data-src="./images/jet.png" class="r-stretch"><div class="small">
<p>See <a href="https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/">https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/</a></p>
</div>
</section>

<section id="perceptually-uniform-colormaps-1" class="title-slide slide level1 center">
<h1>Perceptually uniform colormaps</h1>

<img data-src="./images/jet_grayified.png" class="r-stretch"><div class="small">
<p>See <a href="https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/">https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/</a></p>
</div>
</section>

<section id="perceptually-uniform-colormaps-2" class="title-slide slide level1 center">
<h1>Perceptually uniform colormaps</h1>

<img data-src="./images/jet_with_gray.png" class="r-stretch"><div class="small">
<p>See <a href="https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/">https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/</a></p>
</div>
</section>

<section id="solutions" class="title-slide slide level1 center">
<h1>Solutions?</h1>
<ul>
<li class="fragment">Use grayscale</li>
<li class="fragment">Use a colormap that is optimized for perceptual uniformity</li>
<li class="fragment"><a href="https://www.youtube.com/watch?v=xAoljeRJ3lU">Viridis</a></li>
</ul>
</section>

<section id="viridis" class="title-slide slide level1 center">
<h1>Viridis</h1>

<img data-src="./images/viridis.png" class="r-stretch"></section>

<section id="viridis-1" class="title-slide slide level1 center">
<h1>Viridis</h1>

<img data-src="./images/viridis_grayified.png" class="r-stretch"></section>

<section id="if-you-need-a-divergent-colormap" class="title-slide slide level1 center">
<h1>If you need a divergent colormap</h1>

<img data-src="./images/RdBu.png" class="r-stretch"></section>

<section id="or-a-circular-colormap" class="title-slide slide level1 center">
<h1>Or a circular colormap</h1>

<img data-src="./images/twilight.png" class="r-stretch"></section>

<section id="aligning-graphics-and-concepts" class="title-slide slide level1 center">
<h1>Aligning graphics and concepts</h1>
<p>Based on Goldstone et al.&nbsp;(2015) ::: {.small} - Continuous dimensions with continuously perceived graphical attributes: - Saturation - Size - Position along an axis - Categorical dimensions with categorically perceived graphical attributes: - Hue - Shape - If using time (e.g., in animation) match that with time in the experiment. - If that’s a relevant dimension. :::</p>
</section>

<section id="so-have-we-solved-the-curse-of-dimensionality" class="title-slide slide level1 center">
<h1>So, have we solved the curse of dimensionality?</h1>

</section>

<section id="using-animations" class="title-slide slide level1 center">
<h1>Using animations</h1>
<p>Can help with visualization of complex three-dimensional structures</p>
<div class="fragment">
<p><img data-src="./images/arc4.gif" height="500"></p>
</div>
<div class="fragment">
<p>Or events unfolding over time (we’ll see an example below)</p>
</div>
</section>

<section id="using-interactions" class="title-slide slide level1 center">
<h1>Using interactions</h1>
<div class="small">
<p>Provides a way to explore the data or link between different attributes</p>
</div>
<div class="fragment">
<iframe src="./images/interactive.html" width="100%" height="500" frameborder="0">
</iframe>
</div>
</section>

<section id="dimensionality-reduction-approaches" class="title-slide slide level1 center">
<h1>Dimensionality reduction approaches</h1>
<div class="{fragment}">
<blockquote>
<p>“To deal with hyper-planes in a 14-dimensional space, visualize a 3D space and say ‘fourteen’ very loudly. Everyone does it.” - Geoff Hinton</p>
</blockquote>
</div>
<ul>
<li class="fragment">Linear dimensionality reduction: PCA</li>
<li class="fragment">Non-linear approaches:
<ul>
<li class="fragment">t-SNE</li>
<li class="fragment">UMAP</li>
<li class="fragment"></li>
</ul></li>
</ul>

<div class="quarto-auto-generated-content">
<div class="footer footer-default">
Expand Down
Binary file added slides/images/RdBu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/allen2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/allen3_detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/anscombe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/arc4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions slides/images/interactive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
</head>
<body>
<div id="vis"/>
<script>
const spec = {
"config": {"view": {"continuousWidth": 300, "continuousHeight": 300}},
"hconcat": [
{
"mark": {"type": "point"},
"encoding": {
"color": {
"condition": {
"param": "param_86",
"field": "Origin",
"type": "nominal"
},
"value": "lightgray"
},
"x": {"field": "Horsepower", "type": "quantitative"},
"y": {"field": "Miles_per_Gallon", "type": "quantitative"}
},
"height": 250,
"name": "view_86",
"width": 250
},
{
"mark": {"type": "point"},
"encoding": {
"color": {
"condition": {
"param": "param_86",
"field": "Origin",
"type": "nominal"
},
"value": "lightgray"
},
"x": {"field": "Acceleration", "type": "quantitative"},
"y": {"field": "Miles_per_Gallon", "type": "quantitative"}
},
"height": 250,
"name": "view_87",
"width": 250
}
],
"data": {
"url": "https://cdn.jsdelivr.net/npm/[email protected]/data/cars.json"
},
"params": [
{
"name": "param_86",
"select": {"type": "interval"},
"views": ["view_86", "view_87"]
}
],
"$schema": "https://vega.github.io/schema/vega-lite/v5.17.0.json"
};
vegaEmbed("#vis", spec, {mode: "vega-lite"}).then(console.log).catch(console.warn);
</script>
</body>
</html>
Binary file added slides/images/jet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/jet_grayified.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/jet_with_gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/raincloudplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/raincloudplot_repmes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/twilight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/viridis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/images/viridis_grayified.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a73609c

Please sign in to comment.