radar chart from tiddlers example

13th November 2021 at 9:24pm

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

defense offense passing power reliability shooting John Jojo

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

defense offense passing power reliability shooting X Y

radar chart examples

22nd October 2021 at 7:28pm

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

price useful design battery camera


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

price useful design battery camera 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">>

price useful design battery camera iphone huawei samsung nokia