November 2017
Beginner
316 pages
6h 40m
English
An aster plot displays pie slices as lengths extending outward to the edge (0 at the inner edge to 100 at the outer). The widths of the pie slices represent the weight of each pie, which is used to arrive at a weighted mean of the length scores in the center.
Aster plots in Vega are recreations of d3.js aster plots. Apart from producing simple plots, you can actually add a bit of interactivity, too, using functions like hover!:
score = [59, 24, 98] id = ["FIS", "MAR","AO"] weight = [0.5, 0.5, 1] v = asterplot(x = id, y = score, weight = weight, holesize = 75) colorscheme!(v, palette = ["red", "green", "blue"]) hover!(v, opacity = 0.5)
Read now
Unlock full access