Skip to content

Commit

Permalink
Create BDRPerformanceChart.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tajmahal226 authored Sep 20, 2024
1 parent 6359bbe commit d15aa89
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions BDRPerformanceChart.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const BDRPerformanceChart = ({ data }) => (
<ResponsiveContainer width="100%" height={300}>
<BarChart data={data}>
<CartesianGrid strokeDasharray="3 3" />
<XAxis dataKey="name" />
<YAxis />
<Tooltip />
<Legend />
<Bar dataKey="calls" fill="#0088FE" />
<Bar dataKey="emails" fill="#00C49F" />
<Bar dataKey="meetings" fill="#FFBB28" />
</BarChart>
</ResponsiveContainer>
);

export default BDRPerformanceChart;

0 comments on commit d15aa89

Please sign in to comment.