Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

0 stars0🌍 Public
SSaad Yousfi
Last edited Nov 8, 2021
Created on Nov 8, 2021

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 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.

Comments

Sign in to join the discussion.

MIT Licensed