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 Dataset |
label   object |
label/right   string Type the name of one of the labels | Name of the right side variable
label/column Label 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
value Value string (Column of dataset expected) Column containing the value |
category 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)
mobileSize Mobile Size number Enter a proportion of the total mobile screen | Use on multiple charts onlyEnter a number from 0 to 1
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
style Custom CSS class string amazing-class | Set a custom CSS class to target this specific chart with CSS
zeroBaseline Versus baseline integer Type in an integer | By default, set to 0
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.
size Size number Enter a proportion of the total screen | Use on multiple charts onlyEnter a number from 0 to 1
commonScale Use same scale for all categories boolean |

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