Parent Labels & Removal of %age in Treemap (d3plus v2)

28 views
Skip to first unread message

si...@stuffandting.com

unread,
Feb 22, 2019, 4:54:37 AM2/22/19
to d3plus
Hi

Couple of quick questions.

1) Is it possible to have a parent label/banner similar to this: -

https://grapecitycontentcdn.azureedge.net/blogs/componentone/20180731-analyzing-bivariate-data-with-treemap-charts/1.png


2) How do I remove the %age from all the boxes - assuming there's an option to remove that from display, as there is for legend etc?

Many thanks


Simon

Simon Hargrave

unread,
Feb 22, 2019, 5:03:51 AM2/22/19
to d3p...@googlegroups.com
[ Apologies if this comes through twice - I got a bounce from google groups because I hadn't joined before attempting to post ]

Simon Hargrave

unread,
Feb 25, 2019, 6:08:15 AM2/25/19
to d3p...@googlegroups.com
1) OK, so just spotted this and assume it's not a priority as over 3 yeas old.


2) Managed to remove the percentage though with: -

    label: d => { return [d.product] } // Removes % share
Reply all
Reply to author
Forward
0 new messages