Skip to content

Commit

Permalink
fix: adjust thresholds for gini colors
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev committed Dec 29, 2024
1 parent 7517a70 commit 41bf190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/components/charts/barChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ const BarChart = (props: BarChartProps) => {
<div
className={`
text-center text-sm pb-2 font-mono
${props.giniCoefficient < 0.15 ? 'text-green-500' :
props.giniCoefficient < 0.30 ? 'text-gray-500' :
${props.giniCoefficient < 0.30 ? 'text-green-500' :
props.giniCoefficient < 0.45 ? 'text-gray-500' :
'text-red-500'}
`}
>
Expand Down

0 comments on commit 41bf190

Please sign in to comment.