--- slug: /en/sql-reference/functions/geo/svg sidebar_label: SVG title: "Functions for Generating SVG images from Geo data" --- ## Syntax ``` sql SVG(geometry,[style]) ``` ### Parameters - `geometry` — Geo data - `style` — Optional style name ### Returned value - The SVG representation of the geometry: - SVG circle - SVG polygon - SVG path Type: String ## Examples ### Circle ```sql SELECT SVG((0., 0.)) ``` ```response ``` ### Polygon ```sql SELECT SVG([(0., 0.), (10, 0), (10, 10), (0, 10)]) ``` ```response ``` ### Path ```sql SELECT SVG([[(0., 0.), (10, 0), (10, 10), (0, 10)], [(4., 4.), (5, 4), (5, 5), (4, 5)]]) ``` ```response ```