See the component source code. or play with the component API by editing the code below.
<Frame width={360} height={270} background="transparent"> <AreaChart width={360} height={270} encoding={{ x: { type: 'temporal', field: 'date', scale: { type: 'utc' } }, y: { type: 'quantitative', field: 'close' }, }} data={appleStock} /></Frame>