Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
HHiImSebastian
Last edited Sep 14, 2021
Created on Sep 14, 2021

This example renders a filled line chart without strokes, mapping engine displacement on the x-axis and horsepower on the y-axis from the classic auto-mpg dataset. It uses the Vega-Lite API to construct the chart via its mark and encoding methods, with tooltips bound to each point’s vehicle name. The code loads CSV data through d3.csv, applies a custom configuration for axes and label styling, and displays the result as a full-window SVG using Vega-Lite’s renderer and view options.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes