From 59a1404be66c92bd2887564da18c4f16561e8e13 Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Tue, 23 Jan 2024 14:29:22 -0800 Subject: [PATCH] Update viz.md replace broken altair link --- source/viz.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/viz.md b/source/viz.md index e062a679..97ba2020 100755 --- a/source/viz.md +++ b/source/viz.md @@ -1549,7 +1549,7 @@ To fix this issue we can convert the `Expt` variable into a `nominal` to the `Expt` variable. Adding the `:N` suffix ensures that `altair` will treat a variable as a categorical variable, and hence use a discrete color map in visualizations -([read more about data types in the altair documentation](https://altair-viz.github.io/user_guide/encoding.html#encoding-data-types)). +([read more about data types in the altair documentation](https://altair-viz.github.io/user_guide/encodings/index.html#encoding-data-types)). We also add the `stack(False)` method on the `y` encoding so that the bars are not stacked on top of each other, but instead share the same baseline.