plot
plot copied to clipboard
A concise API for exploratory data visualization implementing a layered grammar of graphics
uses the same duck type test as https://github.com/observablehq/inputs/pull/263 addresses https://github.com/observablehq/framework/issues/1376 (for the Plot part) Note: it's not as good as full Arrow support (where the data would not get transformed...
When using **markerEnd** on a line with variable aesthetics, the marker is shown on each and every segment: This seems wrong, and it would be better to apply markerStart only...
The centroid of a geometry is sometimes outside of it, for example (but not exclusively) with a MultiPolygon such as France+Guyane. This can result in labels or interactive tips that...
 ```js Plot.ruleX([5.5]).plot() ``` We should probably fallback to formatAuto when there is a collapsed domain.
When the group or bin transform is used to generate a _fill_ channel with the _count_ reducer, we want the _color_ scale domain to include zero by default. Otherwise the...
Because it doesn’t, it doesn’t align with areaY and lineY…  ```js Plot.plot({ marks: [ Plot.lineY(data, { x: "year", y: "value", interval: 1 }), Plot.differenceY(data, { x:...
Fixes #384. This is likely to be a large amount of work: d3-format doesn’t support specifying a *locale* string, and instead you’re responsible for loading your own locale definition using...
# Huh? What is this PR?? If a developer using plot with typescript has [`exactOptionalPropertyTypes`](https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes) turned on in their own project's tsconfig, then they will get 8 typescript errors from...
https://observablehq.com/@observablehq/plot-raster-resample this can sample (down), supersample with an interpolator, or do a combination (not useful in this case when represented as a raster, but the resampled values could be used...
closes #2186 | before | after | |-|-| |  |  | (to apply after #2203)