Sample Data
Sales data by product category used to assign different shapes in Tableau visualization.
| Cell | Value |
|---|---|
| A1 | Category |
| B1 | Sales |
| A2 | Fruits |
| B2 | 150 |
| A3 | Vegetables |
| B3 | 100 |
| A4 | Dairy |
| B4 | 80 |
| A5 | Meat |
| B5 | 120 |
Sales data by product category used to assign different shapes in Tableau visualization.
| Cell | Value |
|---|---|
| A1 | Category |
| B1 | Sales |
| A2 | Fruits |
| B2 | 150 |
| A3 | Vegetables |
| B3 | 100 |
| A4 | Dairy |
| B4 | 80 |
| A5 | Meat |
| B5 | 120 |
IF [Category] = 'Fruits' THEN 'Circle' ELSEIF [Category] = 'Vegetables' THEN 'Square' ELSEIF [Category] = 'Dairy' THEN 'Triangle' ELSE 'Diamond' ENDA B 1 Category Sales 2 Fruits 150 3 Vegetables 100 4 Dairy 80 5 Meat 120 Arrows: Category (A2:A5) --> Shape encoding formula
Category Sales Shape Fruits 150 Circle Vegetables 100 Square Dairy 80 Triangle Meat 120 Diamond