Home / Function/ computeMarkerRadius() — supabase Function Reference

computeMarkerRadius() — supabase Function Reference

Architecture documentation for the computeMarkerRadius() function in geo.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Reports/utils/geo.ts lines 96–99

export const computeMarkerRadius = (value: number, max: number): number => {
  if (max <= 0) return 2
  return Math.max(1.5, Math.min(4, (value / max) * 4))
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free