You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ The *fx* and *fy* scales now support the *scale*.**transform** and *scale*.**per
116
116
117
117
[Released September 7, 2022.](https://github.com/observablehq/plot/releases/tag/v0.6.0)
118
118
119
-
[<imgsrc="./img/window-strict.png"width="640"height="398"alt="A smoothed line chart of Apple’s stock price">](https://observablehq.com/@observablehq/plot-window)
119
+
[<imgsrc="./img/window-strict.png"width="640"alt="A smoothed line chart of Apple’s stock price">](https://observablehq.com/@observablehq/plot-window)
120
120
121
121
```js
122
122
Plot.plot({
@@ -148,7 +148,7 @@ Plot now uses D3 7.6.1, using [d3.blur2](https://observablehq.com/@d3/d3-blur) f
148
148
149
149
The new [density mark](./README.md#density) creates contours representing the [estimated density](https://en.wikipedia.org/wiki/Multivariate_kernel_density_estimation) of two-dimensional point clouds. The **bandwidth** and number of **thresholds** are configurable.
150
150
151
-
[<imgsrc="./img/density-contours.png"width="640"height="400"alt="A scatterplot showing the relationship between the idle duration and eruption duration for Old Faithful">](https://observablehq.com/@observablehq/plot-density)
151
+
[<imgsrc="./img/density-contours.png"width="640"alt="A scatterplot showing the relationship between the idle duration and eruption duration for Old Faithful">](https://observablehq.com/@observablehq/plot-density)
152
152
153
153
```js
154
154
Plot.plot({
@@ -163,7 +163,7 @@ Plot.plot({
163
163
164
164
By default, as shown above, the density is represented by contour lines. By setting the **fill** option to *density*, you can draw filled regions with a sequential color encoding instead.
165
165
166
-
[<imgsrc="./img/density-fill.png"width="640"height="500"alt="A contour plot showing the relationship between diamond price and weight">](https://observablehq.com/@observablehq/plot-density)
166
+
[<imgsrc="./img/density-fill.png"width="640"alt="A contour plot showing the relationship between diamond price and weight">](https://observablehq.com/@observablehq/plot-density)
The new [linear regression marks](./README.md#linear-regression) produce [linear regressions](https://en.wikipedia.org/wiki/Linear_regression) with [confidence interval](https://en.wikipedia.org/wiki/Confidence_interval) bands, representing the estimated relation of a dependent variable (typically *y*) on an independent variable (typically *x*).
179
179
180
-
[<imgsrc="./img/linear-regression.png"width="640"height="400"alt="a scatterplot of penguin culmens, showing the length and depth of several species, with linear regression models by species and for the whole population, illustrating Simpson’s paradox">](https://observablehq.com/@observablehq/plot-linear-regression)
180
+
[<imgsrc="./img/linear-regression.png"width="640"alt="a scatterplot of penguin culmens, showing the length and depth of several species, with linear regression models by species and for the whole population, illustrating Simpson’s paradox">](https://observablehq.com/@observablehq/plot-linear-regression)
181
181
182
182
```js
183
183
Plot.plot({
@@ -192,7 +192,7 @@ Plot.plot({
192
192
193
193
The new [Delaunay and Voronoi marks](./README.md#delaunay) produce Delaunay triangulations and Voronoi tesselations: [Plot.delaunayLink](./README.md#plotdelaunaylinkdata-options) draws links for each edge of the Delaunay triangulation of the given points, [Plot.delaunayMesh](./README.md#plotdelaunaymeshdata-options) draws a mesh of the Delaunay triangulation of the given points, [Plot.hull](./README.md#plothulldata-options) draws a convex hull around the given points, [Plot.voronoi](./README.md#plotvoronoidata-options) draws polygons for each cell of the Voronoi tesselation of the given points, and [Plot.voronoiMesh](./README.md#plotvoronoimeshdata-options) draws a mesh for the cell boundaries of the Voronoi tesselation of the given points.
194
194
195
-
[<imgsrc="./img/voronoi.png"width="640"height="396"alt="a Voronoi diagram of penguin culmens, showing the length and depth of several species">](https://observablehq.com/@observablehq/plot-delaunay)
195
+
[<imgsrc="./img/voronoi.png"width="640"alt="a Voronoi diagram of penguin culmens, showing the length and depth of several species">](https://observablehq.com/@observablehq/plot-delaunay)
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,7 +278,7 @@ The inset scale options can provide “breathing room” to separate marks from
278
278
279
279
In addition to the generic *ordinal* scale type, which requires an explicit output range value for each input domain value, Plot supports special *point* and *band* scale types for encoding ordinal data as position. These scale types accept a [*min*, *max*] range similar to quantitative scales, and divide this continuous interval into discrete points or bands based on the number of distinct values in the domain (*i.e.*, the domain’s cardinality). If the associated marks have no effective width along the ordinal dimension—such as a dot, rule, or tick—then use a *point* scale; otherwise, say for a bar, use a *band* scale. In the image below, the top *x* scale is a *point* scale while the bottom *x* scale is a *band* scale; see [Plot: Scales](https://observablehq.com/@observablehq/plot-scales) for an interactive version.
280
280
281
-
<imgsrc="./img/point-band.png"width="640"height="144"alt="point and band scales">
281
+
<imgsrc="./img/point-band.png"width="640"alt="point and band scales">
282
282
283
283
Ordinal position scales support additional options, all specified as proportions in [0, 1]:
0 commit comments