Viewing a saved revision (read-only)
08f126c4572b48f2b4c52362abdc469d
Fork of Fork of Fork of Episode 18 - Iterating Fast with Vega Lite API - Bar
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 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.