Closed Fil closed 1 week ago
Elements rendered by a mark are positioned with transform: translate(x,y), which is not supported by SVGSVGElement. So all facets end up at the same location.
transform: translate(x,y)
SVGSVGElement
It's a bug because our documentation states that the render transform must return an "SVG Element" https://github.com/observablehq/plot/blob/700c6eef9c179fa5bef6bf2a4d5b6a74591d8951/docs/features/marks.md?plain=1#L117
(and SVGSVGElement is a child of SVGElement).
SVGElement
Elements rendered by a mark are positioned with
transform: translate(x,y)
, which is not supported bySVGSVGElement
. So all facets end up at the same location.It's a bug because our documentation states that the render transform must return an "SVG Element" https://github.com/observablehq/plot/blob/700c6eef9c179fa5bef6bf2a4d5b6a74591d8951/docs/features/marks.md?plain=1#L117
(and
SVGSVGElement
is a child ofSVGElement
).