
Custom viz guest demo (ranking, boxplot, ribbon)
A guest demo from our friends at Ramp networks demo three new custom visualizations, and have also shared out code for others. - More on [Github]( * More on [Medium](
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
hello everyone my name is Kristoff and I am head of data at ramp Network I would like to show you a few examples of the custom Vis that we are doing in ramp Network in Omni starting with our favorite ranking chart this is basically showing the rankings of specific measures over time all examples today are custom vea light charts in order to do that chart you will need to have a data set with time Dimension rankings ranking image and of course ranking item in this example we have a weekly sales rankings for fruits uh let me quickly show you how we defined image Dimension because that's the only custom uh Dimension here so we go here okay I have a weekly ranking within category dimension
in which I have values from one apple 10 10 for uh in this entire data set uh I limited this for this example to five uh you can set your own custom emojis so basically we have a simple case statement that we are using for one uh this medal uh for two silver medal uh for three bronze medal and then just numbers for others uh as a fallback I added uh if we have uh any other uh ranking so from 9 plus uh we will just use uh that ranking as a label so that's the only custom thing that you need to Define uh in this uh visualization type um let's inspect chart definition itself um so we go till the end of the definition
by the way the definitions will be uh provided so you will have ability to just copy and paste the template uh in that template at the very end you will have that transform block uh this is the part that you need to edit uh this pattern is actually very uh need uh to define the variables at the end and we Dev developed that pattern actually during the development of this uh particular chart so yeah so you basically select uh an item uh rank uh time variable uh and ranking image and just by setting those four you get this uh beautiful chart second example will be the box plot chart we defined it using the very similar pattern so if you go at the end of
the template that you will be provided with uh you will find the uh transform part with all of the necessary variables that needs to be Set uh so in this particular example you need to have a category so in this case we have fruits and vegetables uh so product name uh then we have a minimum uh 25th percentile median uh 75th and so on and so on uh what we really like about this this chart is the fact that we can actually control what we are adding as specific percentiles or maximums or medians and so on so we can actually adjust uh the way this chart works so for instance if you look here uh the maximum value is not uh giving us uh enough
details maybe it's not uh what we actually want it to have so if I have something else so for instance in this data set I also have 19th percentile uh so I can actually go here and modify to use as Max value the uh 90th uh percentile and in this way uh this chart perhaps uh now have more analytical power and the insights can be uh much better this is particularly useful if your data set have a lot of outliers and then maximum uh value is not uh really great for boxplot the same would of course apply to the minimum uh value okay uh and the last example that I wanted to show you today is the ribbon chart so uh we are using this
typically to visualize some changes in customer statuses or sales volume and so on in part this particular example I have a sales volume over time by category so we have fruits and vegetables uh this chart also has an option to be clickable so if you click on any specific category uh this will actually highlight uh that uh category and dim uh the other uh if you have more uh categories then of course this will be more uh visible and again the same pattern applies so if you go to the bottom of the template uh you will just need to set I think three things so category uh type and value uh category here uh is named for the time variable but this can be anything
uh this can be like Steps in the funnel for instance so step one step two and so on so this is why we didn't name it as a report or something but uh time uh variable can be used here uh then type so in my example it's fruits or vegetables and then uh value so any value that you would like to uh put uh in this example I used rounded version of uh sales uh in uh USD uh but that actually uh doesn't matter okay uh and I think that's it so thank you very much uh and thank you for watching