Versuschart reference

Display 2 dimensions, can be used as an age pyramid

Overview

📖 Learn More about the Versuschart here.

📖 Find examples on the Versuschart here.

Parameters

Required

You must fill these parameters to produce a Versuschart

parameters label type description (placeholder | tooltip)
dataset   string |
category   string (Column of dataset expected) Column containing the dimensions/metric to be compared | Dimensions/metric to be compared
label   object |
label/column   string (Column of dataset expected) Column containing the variables to compare |
label/left   string Type the name of one of the labels | Name of the left variable
label/right   string Type the name of one of the labels | Name of the right side variable
value   string (Column of dataset expected) Column containing the value |

Optional

You can let these parameters unset if you do not need them

parameters label type description (placeholder | tooltip)
domain Scale array | Use it to define the bars scale.Choose 2 boundsIf you’re displaying %, try a 0 to 100
categoriesOrder Categories order   | Use it to order categories
zeroBaseline Versus baseline integer Type in an integer | By default, set to 0
commonScale Use same scale for all categories boolean |
mobileSize Mobile Size number Enter a proportion of the total mobile screen | Use on multiple charts onlyEnter a number from 0 to 1
size Size number Enter a proportion of the total screen | Use on multiple charts onlyEnter a number from 0 to 1
tutorial Tutorial object |
tutorial/content Message string Enter your message | This will be displayed to your users
tutorial/alwaysShow Always show this tutorial boolean | By default the tutorial is shown once only
tutorial/id   string Enter an ID | Change the ID to display the tutorial again. All tutorials with the same ID will be displayed only once.

Others

This parameters are either common to all charts, or hidden from studio. You can use them in code mode, but it’s not recommended !

parameters label type description (placeholder | tooltip)
source   string |
comment   string |
style   string |