Axis definitions.
Definitions of data to visualize.
The total height, in pixels, of the data rectangle. Default is 500 if undefined.
Legend definitions.
Graphical mark definitions.
A unique name for the visualization specification.
[Number | Object | String] The internal padding, in pixels, from the edge of the visualization canvas to the data rectangle. If an object is provided, it must include {top, left, right, bottom} properties. Two string values are also acceptable: "auto" (the default) and "strict". Auto-padding computes the padding dynamically based on the contents of the visualization. All marks, including axes and legends, are used to compute the necessary padding. "Strict" auto-padding attempts to adjust the padding such that the overall width and height of the visualization is unchanged. This mode can cause the visualization's width and height parameters to be adjusted such that the total size, including padding, remains constant. Note that in some cases strict padding is not possible; for example, if the axis labels are much larger than the data rectangle.
Scale transform definitions.
The width and height of the on-screen viewport, in pixels. If necessary, clipping and scrolling will be applied.
The total width, in pixels, of the data rectangle. Default is 500 if undefined.