Hi Harpreet Ghuman,
We tried hard with my colleagues (Sarah Clancy & Pauline Le Corvec) to solve this issue, however these marks are build-in the products and we can't - as it is - retain the wanted ingredients while hiding all the others.
I hope that the community will be able to help with that, as I'm really interested in a workaround!
Edit : Maybe Simon Runc has some advice?
Fun! Love the viz! How about this? Using a dual axis and a table calculation. Let me know if it doesn't make sense and I can explain in detail (sorry, in a bit of a rush now!).
The Cocktail Guide v2.0.twbx 1.2 MB
Would you be able to explain further the steps?
2 of 2 people found this helpful
Sure. The key is on this calculation:
INDEX() = SIZE() identifies the most-right mark. We can use that to return the very last value of Y (since the viz is broken down by cocktail & ingredient, we get a dot for each combination).
We can then select that calculation, drag it to rows, and create a dual axis. We want to make sure to synchronize the axis too.
Because this secondary axis only shows the very last marks on the right, we can now simply enable labels on this secondary axis, just like Harpreet did. We will disable them on the SUM(Curve) axis, though (so we don't have labels on the left and right).
Looks like Santiago has got the solution...
Really cool Viz btw!!