A modified version of pivot table based on react-pivottable for demo and test
npm install react-pivottable-customreact-pivottable, mainly for testing and demo. Please see https://github.com/plotly/react-pivottable#readme for more details of usage of the original table.
reset filters will clean searchings
attrLabel: {[attrName]: "supplementary information"}
`
$3
$3
$3
$3
- 12.1 Set label color for different 'OR' groups
- 12.2 Change the place of all ungrouped attributesUsage
$3
This fearture is mainly designed for scenario when there are lots of attributes to analyze, providing a better way to organize attributes.See the example form NYC Open Data in
App.js.`JavaScript
attrClassified: true,
attrCategory:[
{
name: "Payer",
subcategory: [
{
name: "Test1",
attributes: ['Payer Smoker'],
subcategory: [
{
name: "Test2",
attributes: ['Payer Gender']
}
]
},
]
},
{
name: "Money",
attributes: ['Tip', 'Total Bill'],
},
{
name: "Others",
// attributes: ['Day of Week','Meal','Party Size'],
subcategory:[
{
name: "Test1",
attributes: ['Meal'],
subcategory: [
{
name: "Test2",
attributes: ['Day of Week']
},{
name: "Test3",
attributes: ['Party Size']
}
]
},
]
}
],
``