---
source: src/diagrams/radar/renderer.rs
expression: "crate::svg::normalize_floats(&svg)"
---
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" font-family="Arial, sans-serif" style="max-width: 700px;" viewBox="0 0 700 700" role="graphics-document document" aria-roledescription="radar"><g><g transform="translate(350, 350)"><circle r="60" class="radarGraticule" fill="#DEDEDE" fill-opacity="0.3" stroke="#DEDEDE" stroke-width="1"></circle><circle r="120" class="radarGraticule" fill="#DEDEDE" fill-opacity="0.3" stroke="#DEDEDE" stroke-width="1"></circle><circle r="180" class="radarGraticule" fill="#DEDEDE" fill-opacity="0.3" stroke="#DEDEDE" stroke-width="1"></circle><circle r="240" class="radarGraticule" fill="#DEDEDE" fill-opacity="0.3" stroke="#DEDEDE" stroke-width="1"></circle><circle r="300" class="radarGraticule" fill="#DEDEDE" fill-opacity="0.3" stroke="#DEDEDE" stroke-width="1"></circle><line x1="0" y1="0" x2="0" y2="-300" class="radarAxisLine" stroke="#333333" stroke-width="2"></line><text x="0" y="-315" class="radarAxisLabel" dominant-baseline="middle" text-anchor="middle" font-size="12px" fill="#333333">Math</text><line x1="0" y1="0" x2="259.808" y2="-150" class="radarAxisLine" stroke="#333333" stroke-width="2"></line><text x="272.798" y="-157.5" class="radarAxisLabel" dominant-baseline="middle" text-anchor="middle" font-size="12px" fill="#333333">Science</text><line x1="0" y1="0" x2="259.808" y2="150" class="radarAxisLine" stroke="#333333" stroke-width="2"></line><text x="272.798" y="157.5" class="radarAxisLabel" dominant-baseline="middle" text-anchor="middle" font-size="12px" fill="#333333">English</text><line x1="0" y1="0" x2="0" y2="300" class="radarAxisLine" stroke="#333333" stroke-width="2"></line><text x="0" y="315" class="radarAxisLabel" dominant-baseline="middle" text-anchor="middle" font-size="12px" fill="#333333">History</text><line x1="0" y1="0" x2="-259.808" y2="150" class="radarAxisLine" stroke="#333333" stroke-width="2"></line><text x="-272.798" y="157.5" class="radarAxisLabel" dominant-baseline="middle" text-anchor="middle" font-size="12px" fill="#333333">Geography</text><line x1="0" y1="0" x2="-259.808" y2="-150" class="radarAxisLine" stroke="#333333" stroke-width="2"></line><text x="-272.798" y="-157.5" class="radarAxisLabel" dominant-baseline="middle" text-anchor="middle" font-size="12px" fill="#333333">Art</text><path d="M0,-255 C79.501,-255 198.493,-198.75 233.827,-135 C269.161,-71.25 247.597,61.35 207.846,120 C168.096,178.65 68.459,211.275 0,210 C-68.459,208.725 -155.105,171.15 -194.856,112.5 C-234.606,53.85 -266.952,-72.525 -233.827,-135 C-200.701,-197.475 -79.501,-255 0,-255 Z" class="radarCurve-0" fill="hsl(240,100%,76.275%)" fill-opacity="0.5" stroke="hsl(240,100%,76.275%)" stroke-width="2"></path><path d="M0,-210 C70.668,-207.45 157.314,-169.875 194.856,-112.5 C232.398,-55.125 253.962,67.575 220.836,127.5 C187.711,187.425 77.293,238.725 0,240 C-77.293,241.275 -196.285,197.475 -233.827,135 C-271.369,72.525 -260.587,-68.85 -220.836,-127.5 C-181.086,-186.15 -70.668,-212.55 0,-210 Z" class="radarCurve-1" fill="hsl(60,100%,73.529%)" fill-opacity="0.5" stroke="hsl(60,100%,73.529%)" stroke-width="2"></path><g transform="translate(262.5, -262.5)"><rect width="12" height="12" class="radarLegendBox-0" fill="hsl(240,100%,76.275%)" fill-opacity="0.5" stroke="hsl(240,100%,76.275%)"></rect><text x="16" y="0" class="radarLegendText" text-anchor="start" font-size="12px" dominant-baseline="hanging" fill="#333333">Alice</text></g><g transform="translate(262.5, -242.5)"><rect width="12" height="12" class="radarLegendBox-1" fill="hsl(60,100%,73.529%)" fill-opacity="0.5" stroke="hsl(60,100%,73.529%)"></rect><text x="16" y="0" class="radarLegendText" text-anchor="start" font-size="12px" dominant-baseline="hanging" fill="#333333">Bob</text></g></g></g></svg>
