简体   繁体   中英

How to show detailed value labels in a Tableau treemap?

I have the following travel data showing the counts of trips that specific users have done to specific destinations.

在此处输入图像描述

My aim is to draw a treemap that shows all the destinations that each user has travelled to , colour coding and size coding the treemap by the number of destinations for each traveler. Right now I have something like this but the issue with this viz is that the smaller boxes don't show all their text as it doesn't fit properly.

在此处输入图像描述

I know I can remove the Destination pill from the Labels Marks to stop the treemap being broken down into individual destination boxes too (see below). But in this case and for each of the user rectangles, how can I show a list of all the destinations that a traveler has gone to?

在此处输入图像描述

Assuming that you need to visualize the destination list regardless the dimension of each traveler "square" in the treemap, you may want to give a try to Viz in tooltip.

Essentially you can create a worksheet containing the destination list, and then using it "inside" the tooltip section of your treemap.

Let's assume for a moment that your treemap is the following barchart, you can get something like this (based on superstore):

在此处输入图像描述

Doing so, just hovering on your travelers (category from superstore) you coud get their destination details (subcategory from superstore).

You can find here some additional information from Tableau official documentation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM