1.0.22 • Published 5 years ago
pareto-chart v1.0.22
pareto-chart
Get a pareto chart that can be used as a react component.
Install
npm install --save pareto-chart
Usage
import React, { Component } from 'react'
import ParetoChart from 'pareto-chart'
class Example extends Component {
render () {
return (
<ParetoChart
width={100}
height={50}
lineLabel='Cumulative percentage'
data={{
'Customer complaints': {
'Dificult parking': 40,
'Rude sales person': 13,
'Poor lighting': 10,
'Confusing layout': 27,
'Limmited sizes': 15
},
'Complaints about documents ': {
'Certificate error': 20,
'Certificate missing': 40,
'Invoice error': 10,
'Packaging error': 5,
'Wrong quantity': 3,
'Others': 2
},
'Defects by discipline': {
'Tests': 20,
'Codification': 40,
'Release': 10,
'Analysis': 5,
'Planning': 15
}
}} />
)
}
}
License
MIT © thiagoferrax
1.0.22
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago