This question led to a new package:

Is there a way to draw Kiviat diagrams easily?

Sample Kiviat diagram

  • these are both rich answers! thank you very much for your help
    – adnc
    Commented Feb 2, 2011 at 14:50
  • 1
    Welcome to {TeX}. I've converted your 'answer' to a comment. Usually, simple 'thanks' comments are not really encouraged, as we have a voting model for good-quality answers. You can upvote good answers, and as this is your question can also accept the 'best' one (use the tick by the answers to do this).
    – Joseph Wright
    Commented Feb 2, 2011 at 14:52
  • I've edited the question to add one of the pictures you linked to. Once you get enough reputation you'll be able to do this yourself: for the moment, you can add a comment to your questions asking someone to do this for you, where necessary.
    – Joseph Wright
    Commented Feb 2, 2011 at 14:55
  • Related Question: Problem drawing Kiviat diagram. Commented Nov 6, 2012 at 9:36

3 Answers 3


It was interesting to make a package to use TikZ to build Kiviat Diagram. This package is now on CTAN: tkz-kiviat. You can find some examples on my homepage: kiviat examples.

The first example uses three macros with arguments. First, you create a spider, then you can create a kiviat polygon and you can create graduations


\tkzKiviatDiagram[scale=1.25,label distance=.5cm,
        radial  = 5,
        gap     = 1,  
        lattice = 5]{McCabe,LOC,Live Variables,Halstead N,Variablenspanne}
\tkzKiviatLine[ultra thick,mark=ball,
                 mark size=4pt,color =Maroon](2,3.75,1,1.5,2)    
\tkzKiviatGrad[prefix=,unity=100,suffix=\ \texteuro](1)  


kiviat example

Another solution is to use an external file with data



        label distance=.5cm,
        gap     = 1,label space=3,  
        lattice = 10]{tableae.dat}
                       color      = blue,
                       mark       = ball,
                       ball color = blue,
                       mark size  = 4pt,
                       fill       = blue!20]{tableae.dat}{2}
                       color      = red,
                       mark       = ball,
                       ball color = red,
                       mark size  = 4pt,
                       fill       = red!20]{tableae.dat}{1} 


The tableae.dat file is used with the package pgfplotstable.sty

column1                    column2   column3 
Reliability                6           6.5
Usability                  4           9
{Application Architecture} 7           8
{Version Control}          6.5         7
Timeliness                 2           8
Efficiency                 3           4
Effectiveness              5           6.5
Interoperability           1.5         7 

kiviat diagram with an external file

  • unfortunately I do get an ! Undefined control sequence. <argument> 360/\tkz@kiv@radial *\rang :\tkz@kiv@lattice *\tkz@kiv@gap +\tkz@... l.15 ...Live Variables,Halstead N,Variablenspanne} What am I missing here? Does it require cvs version of tikz? I'm going with Ubuntus packed version of pgf/tikz 2.0
    – adnc
    Commented Feb 7, 2011 at 19:49
  • @adnc I made it with pgf 2.1 This is the new version of pgf Commented Feb 7, 2011 at 20:25
  • @adnc you can get pgf 2.1 here sourceforge.net/projects/pgf and you can install it in your texmf. Commented Feb 7, 2011 at 20:34
  • I again need to say that this solution is great!
    – adnc
    Commented Jun 28, 2011 at 9:25
  • 1
    @dexteritas yes altermundus.com is closed. I'll put some examples on altermundus.fr in a while but I have to update the package first. I don't have the time now. Commented Apr 14, 2020 at 19:19

I'd go fot the tikz package.

Have a look at this example.

I've written a crude set of macro's that might help you on your way when making your own (adjust these and you should be fine).

I'm not that great a programmer myself so perhaps someone else will come up with something much more refined but this will do for now. The upside to my little programming skills is that the code is easy, so you'll probably be able to grasp it quickly and adjust it to your needs.

There are 4 macro's. The main macro is \spider, it takes as much parameters as there are axes (I've written the code for 8 axes, adjust it if you need more or less using the \n command and some tweaking in the code). Each paramter of \spider stands for a value on the the corresponding axis.

\outertolerance works the same way as spider and sets the outer tolerance band for the next \spiderto take into account. The same way \innertolerance sets the values for the inner tolerance band.

Everytime a \spideris used the \outertoleranceand \innertolerance values are reset to nothing (draw no tolerance bands). You can also reset them youerself this by hand using \resettolerance

Add this to preamble:


\def\n{8}   %define how much axes you want
\def\N{5}   %define the number of node on each axis



        \foreach \x in{0,1,...,\n}{%
            \draw[->] (0,0)--(360/\n*\x:\N+0.5);
            \foreach \y in{0,1,...,\N}{
                \draw[fill] (360/\n*\x:\y) circle(0.75pt);


        \draw(360/\n:\N+0.5)node[right]{axis1};     %adjust the labels (also add or delete exces axes)
        \draw(2*360/\n:\N+0.5)node[above]{axis2};   %eg. if you have 6 axes, delete the last 2
        \draw(3*360/\n:\N+0.5)node[left]{axis3};        %or if you have 9 axes add one


        %add or remove coordinates if you have more or less than 8 axes


    %add or remove coordinates if you have more or less than 8 axes

        \foreach \x in{1,2,...,\n}{

        %add or remove coordinates if you have more or less than 8 axes

\newcommand{\resettolerance}[0]{%resets the tolerance band to none

As said above, you will need to adjust the drawing commands to fit the number of axis. This means adding (360/\n*9:#9)-- if you want nine axes. Or removing (360/\n*8:#8)-- if you want 7 axes. You should do this in 3 places (in the \spidercommand, and in \outertolerance and \innertolerance. The adjustment should be the same for every command.

You can also adjust the number of nodes on each axis by adjusting the \N number. You might have to also adjust the scaling=0.5 because more nodes means a bigger chart.

I've also made an example of how to actually draw the spider chart:

\outertolerance{4}{4}{4}{3}{4}{4}{4.5}{4}%defines the outer toleranceband for next spider
\innertolerance{1}{1}{1}{1}{1}{2}{2}{1}%defines the inner toleranceband for next spider
\spider{2}{2}{2}{2}{3}{4}{4}{3}%draws the spider diagram with coordinates

Hope this helps!


  • this is really good, except i would need to plot one dataset and also a toleranceband
    – adnc
    Commented Feb 1, 2011 at 22:49
  • is this a one time deal or do you need a macro that will be used several times?
    – romeovs
    Commented Feb 1, 2011 at 22:53
  • I'll need to produce these diagrams several times.
    – adnc
    Commented Feb 1, 2011 at 22:55
  • 1
    Play around with the tikz package. It provides great possibilities for drawing any diagrams. analyse the example I gave you and you'll come up with something.
    – romeovs
    Commented Feb 1, 2011 at 23:03
  • I don't have enough time tonight but tomorrow, I can make a macro to draw these diagrams. Ineed only to know what to you want like options, variables. What is constant and i make this for you ! Commented Feb 1, 2011 at 23:20

With the current pstricks-add.tex you can simplify it:



  yLabels={McCabe,LOC,Live Variables,Halstead N,Variablenspanne},


enter image description here enter image description here

  • thanks, on page 9 there is an example i'm looking for. the values wouldnt matter. books.google.com/…
    – adnc
    Commented Feb 1, 2011 at 22:51
  • @adnc: I added an example. Run it with xetex or load package auto-pst-pdf and run it with pdflatex -shell-escape file
    – user2478
    Commented Feb 2, 2011 at 9:33
  • Unfortunately I can't get it compile. It hangs on a "Undefined control sequence" ! Undefined control sequence. \resetOptions ...\pst@linetype {0}\pstScalePoints (1,1){}{}\psset [pstricks-... l.2277 \resetOptions
    – adnc
    Commented Feb 2, 2011 at 19:43
  • 1
    @adnc: maybe that I did sonwething wrong, but this version http://texnik.dante.de/tex/generic/pstricks/pstricks.tex has it. Put also \listfiles as first line into the document, then you'll get a list of all loaded files at the end of the log file.
    – user2478
    Commented Feb 2, 2011 at 21:15
  • 1
    @adnc: when you want to rotate the diagram use rotate=<angle>. But you have to remember that the whole circle has 6 degrees in the first and 5 degrees in the second example. The reason why I used rotate=0.5 in the first example, which is the same as 30 degrees for a 360° circle
    – user2478
    Commented Feb 2, 2011 at 21:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .