Fork of Episode 18 - Iterating Fast with Vega Lite API - Line
✓ Published1🌍 Public
Zzjulijie0618
Last edited Jan 16, 2022
Created on Jan 16, 2022
Forked from Episode 18 - Iterating Fast with Vega Lite API
This example shows a line chart of temperature over time, using data from the Auto MPG dataset via a CSV file. The visualization is built with the Vega-Lite API, registered through `vl.register` with Vega and Vega-Lite, and rendered as an SVG. The code encodes timestamp on the x-axis and temperature on the y-axis, applying custom axis and label styling from a config object. Data is fetched asynchronously with `d3.csv`, and the chart fits the full window using `.autosize({ type: 'fit' })`.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.
MIT Licensed