From a2a3e6240fdb3a1cc212e2089251069ad14671b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Sun, 25 Jun 2023 16:11:28 +0200 Subject: [PATCH] d3js link --- docs/transforms/normalize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/transforms/normalize.md b/docs/transforms/normalize.md index f8979ecd02..a4622428f9 100644 --- a/docs/transforms/normalize.md +++ b/docs/transforms/normalize.md @@ -63,7 +63,7 @@ The [select transform](./select.md) is used to label the endpoints of each line. ::: :::info -This example uses an [immediately-invoked function expression (IIFE)](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) for the **tickFormat** option so that the [d3.format](https://github.com/d3/d3-format) only needs to be constructed once. +This example uses an [immediately-invoked function expression (IIFE)](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) for the **tickFormat** option so that the [d3.format](https://d3js.org/d3-format) only needs to be constructed once. ::: The normalize transform converts absolute values into relative ones. So, if **y** is [*y₀*, *y₁*, *y₂*, …] and the *first* basis is used with [normalizeY](#normalizey-basis-options), the resulting output **y** channel is [*y₀* / *y₀*, *y₁* / *y₀*, *y₂* / *y₀*, …]. But it’s a bit more complicated than this in practice since **y** is first grouped by **z**, **fill**, or **stroke** into separate series.