Viewing a saved revision (read-only)
b1afdb6445f24a1f94af44b52797a273
Vega-Lite API Temp Template
This example visualizes temperature trends over time using a filled area chart. The visualization is built with the vega-lite-api library, which wraps the Vega-Lite grammar for programmatic chart specification, and renders through Vega with SVG output. Data is loaded asynchronously from a CSV file using d3.csv, showing temperature values on the y-axis and timestamps on the x-axis. The chart includes tooltips for individual data points, custom axis styling from a configuration object, and adapts to fit the browser window dimensions.
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.