[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-694785-105":59,"doc-detail-694785-en":130,"doc-similar-694785":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","svg-tutorial-svg-getting-started","SVG Tutorial - SVG - Getting Started","","SVG Tutorial explains what SVG (Scalable Vector Graphics) is and how it works: shapes are defined as XML, then rendered by an SVG viewer. The tutorial guides readers through when SVG is ideal for vector diagrams, icons, charts, and generated graphics, and contrasts SVG with bitmap media. It also introduces scripting SVG with JavaScript and outlines many covered topics, including core SVG elements, styling with CSS, coordinates, transformations, gradients, masking, and filters.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/svg-tutorial-svg-getting-started/694785/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/svg-tutorial-svg-getting-started/694785.png","ImageObject",300,407,{"name":92,"@type":93},"Elsa","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-11-10",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does SVG stand for, and how is it rendered?","Question",{"text":112,"@type":113},"SVG stands for Scalable Vector Graphics. Shapes are specified in XML and then rendered by an SVG viewer.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why is SVG ideal for generated graphs and diagrams in web applications?",{"text":117,"@type":113},"Because SVG is an XML textual format that can be generated from common web technologies, making it a strong match for programmatically producing graphs, charts, and diagrams.",{"name":119,"@type":110,"acceptedAnswer":120},"Can SVG be modified dynamically after it is loaded?",{"text":121,"@type":113},"Yes. SVG images can be modified in the browser via JavaScript, enabling more dynamic presentations and even small games (though HTML5 Canvas may be better for games).","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},694785,1794347758,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":41,"preview_page_count":19,"preview_urls":144},137455077381,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","SVG Tutorial  \nSVG-Scalable Vector Graphics  \nAuthor : Jakob Jenkov  \nLast update: 2020-04-05  \nSVG Tutorial  \n SVG Tutorials as Video  \n SVG is for Vector Graphics  \n SVG is Ideal for Generated Images / Graphs / Diagrams  \n Scripting SVG  \n Topics Covered in This SVG Tutorial  \nSVG is short for Scalable Vector Graphics. It is a graphic format in which the shapes are specified in XML. The XML is then rendered by an SVG viewer. Today most web browser can display SVG just like they can display PNG, GIF, and JPG.  \nSVG is for 2-dimensional vector graphics. For a 3-dimensional format lookup X3D.  \nIf you are not sure if SVG is right for you or your project, take a quick look at the SVG Examples page to get a quick overview at the capabilities of SVG.  \nSVG Tutorials as Video  \nI have a video version of this text here:  \nI also have a YouTube play list for all my SVG videos.  \nSVG is for Vector Graphics  \nBeing a vector graphics format SVG is mostly useful for vector type diagrams like:  \n1. Two-dimensional graphs in an X,Y coordinate system.  \n2. Column charts, pie charts etc.  \n3. Scalable icons and logos for web, tablet and mobile apps and webapps.  \n4. Architecture and design diagrams  \n5. etc.  \nBeing a \"Vector Graphics\" format the shapes to be displayed are stored as vectors or vector-like structures. In other words, as numbers. Not as pixels.  \nBeing \"Scalable\" means that the viewer can scale the SVG image up and down in size without loss of quality. This is possible because the graphics are defined as numbers instead of pixels. Scaling the SVG image up or down just means multiplying or dividing the numbers defining the SVG shapes.  \n| SVG is not ideal for bitmap graphics like photos, movies etc. although you can embed bitmap graphics in an SVG image. This can be a handy way to draw shapes or text ontop of a bitmap image.\u003Cbr>SVG is Ideal for Generated Images / Graphs / Diagrams\u003Cbr>Being an XML format (a textual format) SVG is rather easy to generate from within a Servlet, JSP, ASP. NET, PHP or other web application technology. This makes SVG ideal for computer-generated graphs and diagrams. Interestingly, you often need to generate exactly the type of diagrams for which SVG is ideal (graphs, charts, diagrams etc. ) in web applications. This makes SVG an even better match for generating graphs and diagrams.\u003Cbr>Scripting SVG\u003Cbr>It is possible to modify SVG images generated in the browser via JavaScript. This makes it possible to use SVG for more dynamic presentations, and even small games (though it is probably better to use HTML5 Canvas for games) .\u003Cbr>Topics Covered in This SVG Tutorial\u003Cbr>The purpose of this tutorial is to get you up and running with SVG in a short time, and tobe able to use the tutorial as a quick reference afterwards as well. While I will try to cover as much as possible of SVG, it is not the intention to cover each and every little bit of the SVG specification. Once you have a decent understanding of the basics you can easily consult the SVG specification on more advanced or special case topics.\u003Cbr>Chapter Title Page No\u003Cbr>1 SVG Examples 4\u003Cbr>2 A Simple SVG Example 8\u003Cbr>3 Displaying SVG in Web Browsers 8\u003Cbr>4 SVG Icons 12\u003Cbr>5 SVG Coordinate System 15\u003Cbr>6 SVG svg Element 17\u003Cbr>7 SVG g Element 18\u003Cbr>8 SVG circle Element 23\u003Cbr>9 SVG ellipse Element 26\u003Cbr>10 SVG line Element 30\u003Cbr>11 SVG polyline Element 31\u003Cbr>12 SVG polygon Element 32\u003Cbr>13 SVG path Element 33\u003Cbr>14 SVG marker Element 44\u003Cbr>15 SVG text Element 49\u003Cbr>16 SVG tspan Element 58 |\n| --- |\n| 2 |\n\nChapter Title Page No  \n17 SVG tref Element 62  \n18 SVG textpath Element 63  \n19 SVG switch Element 65  \n20 SVG image Element 66  \n21 SVG defs Element 69  \n22 SVG symbol Element 70  \n23 SVG use Element 71  \n24 SVG and CSS 74  \n25 SVG stroke 80  \n26 SVG fill 88  \n27 SVG Viewport and View Box 91  \n28 SVG Animation 99  \n29 SVG Scripting 110  \n30 SVG Transformation 115  \n31 SVG Gradients 125  \n32 SVG Fill Patterns 132  \n33 SVG Clip Path 136  \n34 SVG Masks 1","cbCaio8YrjlqkX0i","https://ap.wps.com/l/cbCaio8YrjlqkX0i","pdf",366356,12,"English","# SVG Tutorial\n## SVG Tutorials as Video\n## SVG is for Vector Graphics\n## SVG is Ideal for Generated Images / Graphs / Diagrams\n## Scripting SVG\n## Topics Covered in This SVG Tutorial\n## Chapter Title Page No\n## SVG Examples","[{\"question\":\"What does SVG stand for, and how is it rendered?\",\"answer\":\"SVG stands for Scalable Vector Graphics. Shapes are specified in XML and then rendered by an SVG viewer.\"},{\"question\":\"Why is SVG ideal for generated graphs and diagrams in web applications?\",\"answer\":\"Because SVG is an XML textual format that can be generated from common web technologies, making it a strong match for programmatically producing graphs, charts, and diagrams.\"},{\"question\":\"Can SVG be modified dynamically after it is loaded?\",\"answer\":\"Yes. SVG images can be modified in the browser via JavaScript, enabling more dynamic presentations and even small games (though HTML5 Canvas may be better for games).\"}]","SVG Tutorial - SVG - Getting Started | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8263754a467118feadd32b167353c90a.webp",983,1391,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/408b6a100466a46f9fb48fbc462c9171.webp",982,1389,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/da1f12eb3d6ea8317123f051a39fcefd.webp",981,1388,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7816a3cfe427d60d506745aac725523c.webp",980,1387,{"list":162,"token":66},[163,169,175,181,187,193,199,205,212,218],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":19,"category_name":30,"create_tm":168},699229,"Scalable Vector Graphics (SVG) Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010648142/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=OXnjU3AwPSLrf3Z8%2B5xIL4%2BYqow%3D","scalable-vector-graphics-svg-tutorial",1794463214,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":24,"category_name":30,"create_tm":174},694789,"Scalable Vector Graphics (SVG) -Concepts Behind the Name - Designing Graphical Interfaces with SVG","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230007445587/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=uMNLQJUHhnfA%2BtB1Ens15boPRfU%3D","scalable-vector-graphics-svg-concepts-behind-the-name-designing-graphical-interfaces-with-svg",1794347765,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":24,"category_name":30,"create_tm":180},694791,"SVG Essentials - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230007445640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=HOn5Edo664ZKFH4UCzGUlzuLfgA%3D","svg-essentials-read-online-free",1794347775,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":24,"category_name":30,"create_tm":186},689291,"The Book of Inkscape - The Definitive Guide to the Free Graphics Editor","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001562038/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=gyIBLKHYNRY5Jg3tLh3SS65yGuA%3D","the-book-of-inkscape-the-definitive-guide-to-the-free-graphics-editor",1794102048,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":81,"category_name":30,"create_tm":192},694790,"Ontology Driven Visualisation of Maps with SVG - An Example for Semantic Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230007445600/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Msng%2Be9a1ZT64sJssd7yf7OyO5k%3D","ontology-driven-visualisation-of-maps-with-svg-an-example-for-semantic-programming",1794347771,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":19,"category_name":30,"create_tm":198},685815,"Sams Teach Yourself HTML, CSS, and JavaScript All in One - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000216029/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=2SwgyBKNYco4dqRjISNMJPiLldA%3D","sams-teach-yourself-html-css-and-javascript-all-in-one-table-of-contents",1794018866,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":81,"category_name":30,"create_tm":204},688889,"Amadine User Manual for iOS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000670511/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=l03iCjYmWCoEyydK27IaLELsqPk%3D","amadine-user-manual-for-ios",1794092702,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":30,"create_tm":211},344993,"XML TO PDF Conversion - Blog tutorial - Step-by-step","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910870391/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=UAHUpG1TplZmebFPymWuJW6%2B4M4%3D","xml-to-pdf-conversion-blog-tutorial-step-by-step",14,1790056121,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":24,"category_name":30,"create_tm":217},649688,"Magnetic Planner Drawings - IDM-2D Magnetplaner Documentation 2.0 - SVG and Connection Rules","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972170203/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=ZnEEI4yq%2F3foQhT1IsxsQuH2Mmw%3D","magnetic-planner-drawings-idm-2d-magnetplaner-documentation-20-svg-and-connection-rules",1792803911,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":30,"create_tm":224},181275,"Build Javascript Part 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229877143596/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=qDOfeIUevlLBxOUQkGynNKeTn2k%3D","build-javascript-part-1",16,1788344056]