Skip to main content
100%

Fork of Fork of Fork of Episode 18 - Iterating Fast with Vega Lite API - Bar

✓ Published0🌍 Public
RRavi Teja Bonam
Last edited Mar 8, 2022
Created on Mar 2, 2022

This bar chart displays February 2022 US auto sales by brand, ranked from highest to lowest sales figures. The visualization uses the Vega-Lite API, registered through `vl.register` with Vega and Vega-Lite, to construct and render the SVG output. Data is loaded asynchronously from a CSV file via `d3.csv`, and the bar marks encode the Brand field on the x-axis and the Feb sales quantity on the y-axis, with tooltips showing exact values. The chart’s appearance is customized using the exported `config` object.

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