howto

Paneled and Animated Charts

Applies to DSS 4.1 and above | November 08, 2017

We have seen how to create basic charts in Dataiku DSS. We can also create paneled charts and vibrant animations.

Consider the Haiku T-shirts project in the gallery. After the orders data has been enriched with customer data and then prepared for analysis, we are ready to visualize it.

We’ll start from a basic line chart that shows the total sales (y-axis) by month of the year (x-axis) and separate lines by the category of T-shirt sold. This is a useful way to look at the patterns of purchases over the course of a year, but we’d also like to see the breakdown by gender.

Paneling a chart

One way to see the breakdown by gender is by paneling, or creating subcharts. Creating a paneled chart is as simple as adding gender as the column to define subcharts.

This is a useful way to look at the breakdown by gender, but now we’d like to gain further insight by looking at how the monthly patterns of purchases change from year-to-year.

Animating a chart

A video below goes through the content of this section.

One way to see the year-to-year change is to animate the chart. This is done in Dataiku DSS by:

  1. Adding order_date_year as the column to define animations
  2. Setting the binning to use None, use raw values
  3. Clicking the play button

You can set the speed of playback, pause the playback, step through years individually at your own pace, or select a specific year to examine.

You can view the final animated, paneled chart on the gallery.