Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
KKIRRAN P L
Last edited Dec 7, 2023
Created on Dec 2, 2023

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 description

A 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

Similar vizzes