Skip to content

feat: Add treemap component

Brandon Labuschagne requested to merge feat_add_treemap_component into master

Design system issue: gitlab-design#656 (closed)
Needed for gitlab#13008 (closed)

Basic hierarchy example Basic flat example
Screenshot_2019-10-02_at_14.46.57 Screenshot_2019-10-02_at_14.46.43

To do

  • Split out options into defaults and configurable
  • Add click handler
  • Add legend
  • Resolve console error Error: <tspan> attribute y: Expected length
  • Calculate min / max based on data
  • Add tests
  • Add documentation
  • See if possible to define rect size
Edited by Brandon Labuschagne

Merge request reports