I need a funnel diagram like those on this website: http://texasls.org/archives/5772/funnel ... -template/.
There does not seem to be anything like it in the tikz gallery, so I've been trying to fiddle with tikz pic, pgf shapes etc... the best I've been able to come up with is:
Code: Select all
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shadows}
\usetikzlibrary{shapes, shapes.geometric}
\begin{document}
\begin{tikzpicture}
\tikzset{my node/.style={trapezium, trapezium stretches body, shape border rotate=180, bottom color=#1!90, top color=#1!10, draw=black!80, text=black, drop shadow}}
\draw[help lines] (0,0) grid (6,7);
\tikzset{trapezium stretches=true}
\node [my node=blue!50!cyan, minimum height=1cm, minimum width=5cm] at (3, 6) {A};
\node [my node=green!60!lime, minimum height=1cm, minimum width=4.45cm] at (3, 5) {B};
\node [my node=orange!50!red, minimum height=1cm, minimum width=3.9cm] at (3,4) {C};
\node [my node=red!80!black, minimum height=1cm, minimum width=3.35cm] at (3,3) {D};
\end{tikzpicture}
%
\end{document}
Because I want to use the diagram for presentations, I want to make it animated in the end.
And I need to be able to add text and variable numbers of layers, so I think I need to stick with using nodes.
Could anybody point a complete tikz noob into the right direction? Any help would be greatly appreciated!
All the best,
Bernadette