Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Ppranav-vis
Last edited Sep 5, 2021
Created on Sep 5, 2021

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 description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes