IconResources
Visualize intelligence

Area plot

Add an area plot to a card.

Area plots are useful for showing how values change over time, while also emphasizing the magnitude of those values. Use them when you want to highlight volume, accumulation, or gaps between values.

Add area plot

Set card to type "Vega Chart".

t0 screenshot - Add pie chart

t0 Prompt

Select data in the context dropdown of the chat window.

make an area chart

show filled line

convert to area plot

Code

{
...
"mark": "area",
"encoding": ... ,
...
}

t0 screenshot - Add card

Configuration options

PropertyDescription
markUse "area" to fill space below the line.
interpolate(Optional) Smooths or steps the area shape ("linear", "monotone", etc.).
xHorizontal axis, typically temporal for time.
yVertical axis showing magnitude.
tooltipShows values on hover.
autosizeEnsures the chart fits inside its container.
view.strokeRemoves chart border for a cleaner look.

On this page