Skip to content

Commit

Permalink
🐛 fix: admin missing location graph component add (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghun-dev authored Jan 20, 2024
1 parent 422ff29 commit 0b24776
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// yarn add @nivo/pie
import {ResponsivePie} from '@nivo/pie'

const MyResponsivePie = ({data /* see data tab */}) => (


<ResponsivePie
data={data}
margin={{top: 20, right: 100, bottom: 20, left: 100}}
innerRadius={0.5}
padAngle={0.5}
activeOuterRadiusOffset={8}
borderWidth={1}
colors={{scheme: 'purple_blue'}}
borderColor={{
from: 'color',
modifiers: [
[
'darker',
0.2
]
]
}}
/>
)

export default MyResponsivePie;

0 comments on commit 0b24776

Please sign in to comment.