From ef1526ab9d6b0795ce1e65fb3790c4553391924d Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Mon, 25 Nov 2024 11:43:03 -0800 Subject: [PATCH] fix link --- docs/features/plots.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/plots.md b/docs/features/plots.md index 362178cdf5..0902dadda9 100644 --- a/docs/features/plots.md +++ b/docs/features/plots.md @@ -224,7 +224,7 @@ The default **width** is 640. On Observable, the width can be set to the [standa Plot does not adjust margins automatically to make room for long tick labels. If your *y* axis labels are too long, you can increase the **marginLeft** to make more room. Also consider using a different **tickFormat** for short labels (*e.g.*, `s` for SI prefix notation), or a scale **transform** (say to convert units to millions or billions). ::: -The **aspectRatio** option , if not null, computes a default **height** such that a variation of one unit in the *x* dimension is represented by the corresponding number of pixels as a variation in the *y* dimension of one unit. The **aspectRatio** option is recommended only when *x* and *y* domains share the same units, such as millimeters. When a position scale is [ordinal](./scales#discrete-scales) (*point* or *band*), consecutive domain values are treated as one unit length apart; for example, if both *x* and *y* are ordinal, then an aspect ratio of one produces a square grid. +The **aspectRatio** option , if not null, computes a default **height** such that a variation of one unit in the *x* dimension is represented by the corresponding number of pixels as a variation in the *y* dimension of one unit. The **aspectRatio** option is recommended only when *x* and *y* domains share the same units, such as millimeters. When a position scale is [ordinal](./scales.md#discrete-scales) (*point* or *band*), consecutive domain values are treated as one unit length apart; for example, if both *x* and *y* are ordinal, then an aspect ratio of one produces a square grid.