<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shapes on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/shapes/</link><description>Recent content in Shapes on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 11 Oct 2025 01:00:00 +0530</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/shapes/index.xml" rel="self" type="application/rss+xml"/><item><title>Crafting Visuals with SVG</title><link>https://ai-blog.noorshomelab.dev/d3js-guide/crafting-visuals-with-svg/</link><pubDate>Sat, 11 Oct 2025 01:00:00 +0530</pubDate><guid>https://ai-blog.noorshomelab.dev/d3js-guide/crafting-visuals-with-svg/</guid><description>&lt;h1 id="3-crafting-visuals-with-svg"&gt;3. Crafting Visuals with SVG&lt;/h1&gt;
&lt;p&gt;Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. D3.js works beautifully with SVG because SVG elements are part of the DOM, making them easily manipulable with D3&amp;rsquo;s selection and data-binding methods. This chapter will teach you how to create various SVG elements using D3.js, forming the visual building blocks of your charts.&lt;/p&gt;
&lt;h2 id="31-svg-basics-the-canvas-for-your-data"&gt;3.1 SVG Basics: The Canvas for Your Data&lt;/h2&gt;
&lt;p&gt;Before diving into D3.js, let&amp;rsquo;s briefly review essential SVG concepts. An SVG image is composed of basic shapes, paths, and text, defined by attributes like &lt;code&gt;x&lt;/code&gt;, &lt;code&gt;y&lt;/code&gt;, &lt;code&gt;width&lt;/code&gt;, &lt;code&gt;height&lt;/code&gt;, &lt;code&gt;cx&lt;/code&gt;, &lt;code&gt;cy&lt;/code&gt;, &lt;code&gt;r&lt;/code&gt;, &lt;code&gt;d&lt;/code&gt;, &lt;code&gt;fill&lt;/code&gt;, &lt;code&gt;stroke&lt;/code&gt;, etc.&lt;/p&gt;</description></item></channel></rss>