Sha256: 266618b0d412a5d6f5bee4067eeb54203410402444f2fb25e271c8b6ab90c060

Contents?: true

Size: 799 Bytes

Versions: 1856

Compression:

Stored size: 799 Bytes

Contents

import React from 'react'

import TreemapChart from '../_treemap_chart'

const chartData = [
  {
    name: "Pepperoni",
    parent: "Toppings",
    value: 600,
  }, {
    name: "Cheese",
    parent: "Toppings",
    value: 510,
  }, {
    name: "Mushroom",
    parent: "Toppings",
    value: 330,
  },{
    name: "Onions",
    parent: "Toppings",
    value: 250,
  }, {
    name: "Olives",
    parent: "Toppings",
    value: 204,
  }, {
    name: "Pineapple",
    parent: "Toppings",
    value: 90,
  }, {
    name: "Pizza Toppings",
    id: "Toppings",
  },
]

const TreemapChartDefault = (props) => (
  <div>
    <TreemapChart
        chartData={chartData}
        id="treemap-default"
        title="Favored Pizza Toppings"
        {...props}
    />
  </div>
)

export default TreemapChartDefault

Version data entries

1,856 entries across 1,856 versions & 2 rubygems

Version Path
playbook_ui_docs-14.10.0.pre.rc.24 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.24 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.23 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.23 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.22 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.22 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.21 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.21 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.9.0.pre.alpha.play1703errorstatealignment5060 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.9.0.pre.alpha.play1703errorstatealignment5060 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.20 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.20 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.19 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.19 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.18 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.18 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.9.0.pre.alpha.PLAY1660reactdropzone5020 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.9.0.pre.alpha.PLAY1660reactdropzone5020 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui_docs-14.10.0.pre.rc.17 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx
playbook_ui-14.10.0.pre.rc.17 app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx