🌍 Public
Fork of Vega-Lite API Template
This visualization displays a radial bar chart comparing four named values using the Vega-Lite API, with bars arranged in a circular arc and colored by category. The code imports data from a static array and renders it via `vl.markArc`, encoding theta and color channels while scaling the arc range between 0.75 and 2.75 radians. It uses `vega-lite-api`, `vega`, and `vega-lite` libraries, along with d3 for data handling, and customizes axis appearance through a config object. The visualization demonstrates the Vega-Lite API’s declarative syntax within a d3-based setup.
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








Comments
Sign in to join the discussion.