Sha256: bd61d37e13465ceb1f3d2a2dd50b3ce17b52f38a7b25762bcc0deeb4de5464a9
Contents?: true
Size: 1.34 KB
Versions: 1582
Compression:
Stored size: 1.34 KB
Contents
<% data = [ { name: "Evergreen", id: "Evergreen", color: "#0056CF", }, { name: "Pine", id: "Pine", parent: "Evergreen", value: 300, color: "#477BC4", }, { name: "Ponderosa Pine", parent: "Pine", value: 50, }, { name: "Scots Pine", parent: "Pine", value: 150, }, { name: "White Pine", parent: "Pine", value: 100, }, { name: "Douglas Fir", parent: "Evergreen", value: 150, }, { name: "Juniper", parent: "Evergreen", value: 80, }, { name: "Hemlock", parent: "Evergreen", value: 30, }, { name: "Deciduous", id: "Deciduous", color: "#F9BB00", }, { name: "Oak", parent: "Deciduous", value: 80, }, { name: "Maple", id: "Maple", parent: "Deciduous", value: 180, color: "#F7CE52", }, { name: "Red Maple", parent: "Maple", value: 80, }, { name: "Sugar Maple", parent: "Maple", value: 100, }, { name: "Beech", parent: "Deciduous", value: 50, }, { name: "Willow", parent: "Deciduous", value: 100, }, { name: "Juniper", parent: "Deciduous", value: 90, }, ] %> <%= pb_rails("treemap_chart", props: { chart_data: data, drillable: true, grouped: true, id: "treemap-drillable", title: "Drillable Grouped Tree Species", }) %>
Version data entries
1,582 entries across 1,582 versions & 2 rubygems