feat: add sample size

This commit is contained in:
2025-03-03 09:40:16 +01:00
parent de79970987
commit 9d65c1d1df
3 changed files with 10 additions and 4 deletions

View File

@@ -83,8 +83,9 @@ const RaceChart: FC<RaceChartProps> = ({ players, std }) => {
fontWeight={"bold"}
strokeWidth={4}
paintOrder={"stroke fill"}
style={{ whiteSpace: "pre" }}
>
{`${player.rank} ± ${player.std}`}
{`${player.rank} ± ${player.std} N = ${player.n}`}
</text>
</g>
))}

View File

@@ -2,7 +2,7 @@ export interface Edge {
from: string;
to: string;
color: string;
relation: "likes" | "dislikes"
relation: "likes" | "dislikes";
}
export interface Node {
id: string;
@@ -16,5 +16,5 @@ export interface PlayerRanking {
name: string;
rank: number;
std: number;
n: number;
}