31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
|
|
<svg width="400" height="300" xmlns="http://www.w3.org/2000/svg">
|
|
<title>Sales Q1 Bar Chart</title>
|
|
<rect width="100%" height="100%" fill="#f9f9f9"/>
|
|
<g transform="translate(50, 20)">
|
|
<!-- Axes -->
|
|
<line x1="0" y1="230" x2="320" y2="230" stroke="black" />
|
|
<line x1="0" y1="0" x2="0" y2="230" stroke="black" />
|
|
|
|
<!-- Y-axis title -->
|
|
<text x="-30" y="120" transform="rotate(-90, -30, 120)">Sales ($)</text>
|
|
|
|
<!-- X-axis title -->
|
|
<text x="160" y="270">Month</text>
|
|
|
|
<!-- January -->
|
|
<rect x="40" y="80" width="60" height="150" fill="#4285F4" />
|
|
<text x="70" y="250">Jan</text>
|
|
<text x="70" y="70">$150K</text>
|
|
|
|
<!-- February -->
|
|
<rect x="130" y="50" width="60" height="180" fill="#EA4335" />
|
|
<text x="160" y="250">Feb</text>
|
|
<text x="160" y="40">$165K</text>
|
|
|
|
<!-- March -->
|
|
<rect x="220" y="20" width="60" height="210" fill="#FBBC05" />
|
|
<text x="250" y="250">Mar</text>
|
|
<text x="250" y="10">$180K</text>
|
|
</g>
|
|
</svg>
|