🌍 Public
Fork of Vega-Lite API Template
This example plots the daily adjusted closing price of Apple stock (AAPL) as a line chart, with time on the x-axis and price on the y-axis, using a minimal dark-themed design. It loads CSV data from a GitHub gist via `d3.csv` and renders the visualization with the Vega-Lite API, specifically using `markLine` and encodings for temporal and quantitative fields. The code registers Vega, Vega-Lite, and Vega-Tooltip, customizes axis and label styles via a configuration object, and auto-fits the chart to the browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed


![Fork of [Vega-Lite] 3.2 Line Chart](/viz/60b98c5563ac4cc4b41a79f34ac36550/social-image.png?v=28f90c8160954a3cbc3ab7a140d5c6f0)





Comments
Sign in to join the discussion.