4️⃣

Smart Facets

What It Can Do for You

Smart Facets is a very useful feature of HERATCOUNT when you want to better understand the relationship between two variables by creating multiple facets with the selected facet variable. For example, if you want to create a bar chart about sales with respect to ship mode from the Superstore dataset and how it varies over the regions, all you have to do is select 'region' as facet variable in Smart Facets.
So, what's the difference between Smart Plot's facet function and Smart Facets? In Smart Plot, categorical variables with less than 11 levels can be used as a facet variable for +++. On contrary, Smart Facets allows you to utilize any categorical variable with more than 11 levels.

📃
How to Use

As straightforwardly as it could be, to use Smart Facet, you just decide which variable in your dataset you would like to use as x,y variable, and then choose another variable to use as a facet variable, which follows typical visualization grammar just as the other menus of HEARTCOUNT do.
Let's take a look at how it works in the Superstore dataset.
  • Say you want to understand how the quantity of sales varies over product categories and how it changes over different regions. All you have to do is to just simply choose Category as a X-axis variable, Quantity as a Y-axis variable, and Region as Facet variable. Then, Smart Facets automatically create multiple bar charts, showing the relationship between Product Category and Quantity over different Region.
Note that both categorical and numeric variables are allowed,
whereas only numeric variables are allowed for y-axis variable.
Notice a small icon on the top-right for ordering the facet. Currently, facets are ordered in a way that reflects statistic order, which is +++
  • If you mouse over one of the bars, which is one of the product categories, it will show you how much is the average quantity(=height of the bar) for the category. Let's say how many furnitures were sold to each customer on the west on average. If you mouse over a blue bar on the West facet, it will show the mean quantity of furniture sold on the west.
  • You may want to further investigate on the relationship between the quantity and the category over different states in the West. To do so, you have to use the record filter function first, which is on the of the page, where you can filter out all the other regions(Central, East, South). Then, choose State as a facet variable.
Montana sold more than the other states on average, and the quantity of furniture sold was the most on average among the product categories in the West.
Last modified 5mo ago