This macro takes the data for the radar chart from the fields of tiddler(s).
Get links and mouseover labels from fields:
<<radar-from-tiddlers filter:"John Jojo" fields:"defense offense passing power reliability shooting" captions:"defense offense passing power reliability shooting" links:"a b c d e" scales:"3" linkField:"title" labelField:"title">>
Specify links and mouseover labels as macro parameters
<<radar-from-tiddlers filter:"John Jojo" fields:"defense offense passing power reliability shooting" captions:"defense offense passing power reliability shooting" links:"a b c d e" scales:"3" captions:"X Y" links:"a b">>
Inspired by @telumire and his trigonometric filter operators, this is a wikitext port of svg-radar-chart.
Set smoothing to 1 for an accurate comparison.
One set of data:
<<radar data:"[[100 90 100 65 90]]" captions:"price useful design battery camera" scales:3>>
Three sets of data:
<<radar data:"[[100 90 100 65 90]] [[80 80 60 100 100]] [[60 60 70 80 90]]" captions:"price useful design battery camera" scales:3 labels:"iphone huawei samsung">>
Four sets of data with clickable shapes:
<<radar data:"[[100 90 100 65 90]] [[80 80 60 100 100]] [[60 60 70 80 90]] [[50 60 70 80 60]] " captions:"price useful design battery camera" labels:"iphone huawei samsung nokia" scales:3 links:"a b c d e">>