Vega-Lite API Template Area Chart
✓ Published0🌍 Public
This example renders a Vega-Lite area chart of weekly temperature data for San Francisco. The visualization uses the vega-lite-api JavaScript library to define a markArea encoding with timestamp on the x-axis and temperature on the y-axis, both with zero-based scaling disabled. The chart is customized with config settings for axis labels and titles, and rendered as an SVG using vega, vega-lite, and vega-tooltip, with data loaded asynchronously via d3.csv. The view is sized to fill the browser window with a fit autosize type.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed