From 33df13083139bfc0f3dba412069c83dc509d96af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Mon, 30 Sep 2024 11:50:45 +0200 Subject: [PATCH] fix links --- docs/features/marks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features/marks.md b/docs/features/marks.md index ee9385426a..be869f6ae3 100644 --- a/docs/features/marks.md +++ b/docs/features/marks.md @@ -596,7 +596,7 @@ A convenience method for composing a mark from a series of other marks. Returns To draw the visual representation of a mark, Plot calls its render function and inserts the returned SVG element (if any) in the chart. This function is called for each non-empty facet. It may also be called repeatedly by interactions, for example when the [pointer](./pointer.md) transform needs to draw the highlighted data point after a mouse move. :::warning -This is a low-level interface. We recommend using higher-level options, such as [data transforms](https://observablehq.com/plot/features/transforms), when possible. +This is a low-level interface. We recommend using higher-level options, such as [data transforms](./transforms.md), when possible. ::: After all the marks have been initialized, the scales computed and applied to the channels, Plot calls the mark’s render function with the following five arguments, for each facet: @@ -676,7 +676,7 @@ The *context* contains several useful globals: * document - the [document object](https://developer.mozilla.org/en-US/docs/Web/API/Document) * ownerSVGElement - the chart’s bare svg element * className - the [class name](./plots.md#other-options) of the chart (*e.g.*, "plot-d6a7b5") -* clip - the top-level [clip](./features/plots.md#other-options) option (to use when the mark’s clip option is undefined) +* clip - the top-level [clip](./plots.md#other-options) option (to use when the mark’s clip option is undefined) * projection - the [projection](./projections.md) stream, if any * dispatchValue - a function that sets the chart’s value and dispatches an input event if the value has changed; useful for interactive marks * getMarkState - a function that returns a mark’s state