Fork of Vega-Lite API Template
✓ Published1🌍 Public
This example visualizes a bar chart of automotive sector data from the UCI Auto MPG dataset, mapping sectors along the x-axis and a quantitative “impact” measure on the y-axis, with color encoding by topic. The visualization is built using the Vega-Lite API, which registers with Vega and Vega-Lite to render SVG output, while d3.csv loads the remote CSV file. A custom configuration adjusts axis styling and font sizes for readability, and the chart auto-fits to the browser window with an interactive tooltip handler.
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