Demo

Portfolio colored by range, value and opacity

Documented in TreeMap.

Portfolio colored by range, value and opacity

A TreeMap of holdings by sector that switches between palette, range, value and opacity color scales, with getItemStyle, hover highlight, a custom tooltip, item hover and click events and a root context-menu handler.

Portfolio. Tile area is the position value
  • Technology: $90k
    • Northwind Systems: $42k
    • Contoso Cloud: $30k
    • Fabrikam Chips: $18k
  • Health: $36k
    • Adatum Bio: $22k
    • Litware Clinics: $14k
  • Energy: $27k
    • Tailspin Solar: $16k
    • Proseware Grid: $11k
  • Cash: $9k
    • Money market: $9k

Tree map, 4 items, total $162k. Technology: $90k; Health: $36k; Energy: $27k; Cash: $9k.

Hover: none · Click: none · Right-clicks: 0