Bar code charts are great for showing values within a distribution. In this blog I shall show you how to create one to show how much sales we accrue from each customer on each product sub-category.
- Drag product sub-category to rows and sales to columns.
![](https://www.thedataschool.co.uk/content/images/2022/12/1-25.png)
2. Change the marks to Gantt
![](https://www.thedataschool.co.uk/content/images/2022/12/1-26.png)
3. Drag customer name to detail
![](https://www.thedataschool.co.uk/content/images/2022/12/1-27.png)
4. Click on colour and reduce opacity reasonably
![](https://www.thedataschool.co.uk/content/images/2022/12/1-28.png)
5. Show customer highlighter by clicking on the dropdown on the customer field and selecting show highlighter.
![](https://www.thedataschool.co.uk/content/images/2022/12/1-29.png)
The bar code chart is done and we can flip through the highlights card to view the contributions of each customer by name.
![](https://www.thedataschool.co.uk/content/images/2022/12/1-30.png)
I hope this tip helped and thanks for reading.