Sha256: 266618b0d412a5d6f5bee4067eeb54203410402444f2fb25e271c8b6ab90c060
Contents?: true
Size: 799 Bytes
Versions: 1851
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,851 entries across 1,851 versions & 2 rubygems