plot icon indicating copy to clipboard operation
plot copied to clipboard

A concise API for exploratory data visualization implementing a layered grammar of graphics

Results 314 plot issues
Sort by recently updated
recently updated
newest added

We can create a grid facet with: ``` x: d => (f(d) % 5), y: d => Math.floor(f(d) / 5) ``` where f returns an integer, maybe `d => groups.indexOf(d.group)`....

enhancement

As noted in https://github.com/observablehq/plot/pull/2132#issuecomment-2489891444: ![untitled - 2024-11-20T172228 394](https://github.com/user-attachments/assets/49101bf9-aab8-43eb-a948-f7a8ddc35212) ```js Plot.waffleY([0.5, 2, 4], {x: null, fill: Plot.indexOf}).plot({color: {type: "categorical"}}) ``` Above, the y-scale only extends from [0, 6.5], but the waffle...

bug

there were two issues: 1. blur2 does not support dates 2. the contour ticks should be derived as utc ticks not numerical ticks closes #2250

This is a first cut at an alternate take to zooming, focusing on the programmatic API first rather than the interaction. This exposes a _plot_.rescale method that takes scale definitions,...

do with areas like we did with lines #1156 : an "auto" curve that works with projections Will be useful for #1173 #133 (and arc, pie, donut charts).

enhancement
geo

https://d3js.org/d3-geo/projection#projection_angle ```js Plot.plot({ projection: { type: ({ width, height }) => d3.geoEqualEarth().angle(11).fitSize([width, height], { type: "Sphere" }) }, marks: [Plot.graticule(), Plot.sphere()] }) ``` should be available as ```js Plot.plot({ projection:...

enhancement

![Image](https://github.com/user-attachments/assets/3b40e492-be36-4fc3-b515-39380327548f) As pioneered by @jwolondon, it's a sum of the density field at several harmonic bandwidths (1, 2, 4, 8, 16, 32, 64px) weighted by 1, 4, 9, 25, 36,...

enhancement

![Image](https://github.com/user-attachments/assets/9b20c372-1df5-4f3b-8c0f-f0313f582ad0) ``` Plot.dot( penguins, Plot.dodgeY({ x: "culmen_length_mm", symbol: (d) => (d.sex === "FEMALE" ? "square" : "star"), tip: true }) ).plot({ height: 220 }) ``` The [Object object] is the...

bug