Props
Every prop has a default, so the component renders as it is. Change any of them in Studio or in code.
nodeslist
The nodes.
linkslist
The flows. They must run from earlier columns to later ones (no cycles).
startNodeinteger = 0
Node the camera starts on; it follows that node's strongest flow on to the end.
titlestring = "Where visitors go"
Heading.
subtitlestring = "Sessions from first touch to checkout"
Muted line under the heading.
unitstring = "sessions"
What a value counts, for the tooltip.
modelight | dark = "light"
Colour theme: light or dark.
paletteprimary | monochrome | ocean | sunset | grove | vivid = "ocean"
Chart palette: primary (indigo, yellow, fuchsia, mist, black), monochrome, ocean, sunset, grove or vivid.
hopSecondsnumber = 1.05
Time the head takes along each hop of the followed flow.
holdSecondsnumber = 1.6
How long the last frame holds.
camera.tightZoomnumber = 1.55
Zoom while following the flow.
camera.wideZoomnumber = 1
Zoom of the whole diagram.
camera.leadnumber = 200
Screen pixels the camera leads the head by.
camera.motionBlurnumber = 1
Strength of the motion blur on the fast moves; 0 turns it off.
camera.rackFocusnumber = 5
Blur in pixels on the rest of the diagram as it arrives; it comes into focus.
Compositions
- SankeyChart