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 |
label   object |
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
label/column   string (Column of dataset expected) Column containing the variables to compare |
value   string (Column of dataset expected) Column containing the value |
category   string (Column of dataset expected) Column containing the dimensions/metric to be compared | Dimensions/metric to be compared

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
commonScale Use same scale for all categories boolean |
size Size number Enter a proportion of the total screen | Use on multiple charts onlyEnter a number from 0 to 1
categoriesOrder Categories order   | Use it to order categories
zeroBaseline Versus baseline integer Type in an integer | By default, set to 0
tutorial Tutorial object |
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.
tutorial/content Message string Enter your message | This will be displayed to your users
mobileSize Mobile Size number Enter a proportion of the total mobile screen | Use on multiple charts onlyEnter a number from 0 to 1

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)
style   string |
comment   string |
source   string |