line chart
This line chart visualizes temperature readings over time, with each point along the line representing a recorded temperature value and a tooltip displaying the exact temperature on hover. It renders as a single continuous stroke, styled with a dark color scheme for axis labels and a light grid. The visualization is built using the Vega-Lite API, which composes the chart specification and renders it through Vega. Data is loaded asynchronously from a CSV file using `d3.csv`, and the chart is configured with custom axis styles and a responsive sizing that adapts to the browser window dimensions. A Vega tooltip handler enables interactive data inspection.
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.