Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 710 Bytes

File metadata and controls

25 lines (17 loc) · 710 Bytes

Treemap Charts

The following imports have been used to produce the plots below:

use plotly::treemap::{BranchValues, Packing, PathBar, Side, Tiling};
use plotly::{Plot, Treemap};

The to_inline_html method is used to produce the html plot displayed in this page.

Basic Treemap

{{#include ../../../../../examples/basic_charts/src/main.rs:basic_treemap}}

{{#include ../../../../../examples/basic_charts/output/inline_basic_treemap.html}}

Styled Treemap with Tiling and Path Bar

{{#include ../../../../../examples/basic_charts/src/main.rs:styled_treemap}}

{{#include ../../../../../examples/basic_charts/output/inline_styled_treemap.html}}