

{"id":115709,"date":"2023-12-20T18:00:21","date_gmt":"2023-12-20T12:30:21","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=115709"},"modified":"2023-12-20T18:20:19","modified_gmt":"2023-12-20T12:50:19","slug":"pie-charts-in-matplotlib","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/","title":{"rendered":"Pie Charts in Matplotlib"},"content":{"rendered":"<h2>Understanding Matplotlib Pie Charts<\/h2>\n<h3>Pie Charts: A Brief Introduction<\/h3>\n<p>Pie charts are often used to display percentages or other relative measures of data. Categorical data may be easily understood in terms of its distribution and relative proportions thanks to its visual depiction. When contrasting the relative sizes and weights of several groups, pie charts really shine.<\/p>\n<h3>What Makes a Matplotlib Pie Chart Unique<\/h3>\n<p><strong>1. Seeing how categories are used and how they stack up visually<\/strong><\/p>\n<p>Pie charts are a visual representation of the distribution of categorical data, where the percentage of each category is shown as a slice of a circle. Each wedge&#8217;s size is indicative of the fraction or percentage it represents in the whole. This facilitates a rapid comprehension of the data&#8217;s general distribution.<\/p>\n<p><strong>2. Visualising category contributions<\/strong><\/p>\n<p>By graphically representing the relative contributions of distinct categories, pie charts allow us to examine the structure of a dataset at a glance. In a pie chart, the degree to which each wedge points indicates the relative size of that category within the entire, making it simple to evaluate relative importance.<\/p>\n<h3>Making Pie Charts in Matplotlib<\/h3>\n<p>Matplotlib makes it simple to make a standard pie chart. If we provide the pie function the data and labels that describe the percentages and categories, it will produce a pie chart. Here&#8217;s a case in point:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import matplotlib.pyplot as plott\r\n\r\n\r\nvals = [60, 40, 30, 70]  # Proportions of each category\r\ncats = ['Cat', 'Dog', 'Goat', 'Cow']  # Labels for each category\r\n\r\n\r\nplott.pie(vals, labels=cats)\r\nplott.title('Pie Chart DataFlair')\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Making-Pie-Charts.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125481 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Making-Pie-Charts.webp\" alt=\"Making Pie Charts \" width=\"389\" height=\"411\" \/><\/a><\/p>\n<p>To improve the visual appeal and legibility of pie charts, Matplotlib provides a number of options for personalization. The chart&#8217;s aesthetic appeal may be modified by changing its colours, labels, and text characteristics. For instance, we may give each group its own colour, change the size and design of the labels, and give the whole thing a title.<\/p>\n<h3>Exploding Matplotlib Pie Chart Slices<\/h3>\n<h4>Pieces of the Pie Chart Blowing Up<\/h4>\n<p>One way to draw attention to a subset of data shown in a pie chart is to &#8220;explode&#8221; or move the relevant slice away from the centre of the chart. This highlights the category of interest. To do this, we may give the pie function a &#8220;explode&#8221; argument. Each slice&#8217;s offset is represented by a value in the &#8220;explode&#8221; argument. Here&#8217;s a case in point:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">list_e = [0, 0.1, 0, 0]\r\nplott.pie(vals, labels=cats, explode=list_e)\r\nplott.title('Exploded Pie Chart DataFlair')\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Exploding-Pie-Chart-Slices.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125482 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Exploding-Pie-Chart-Slices.webp\" alt=\"Exploding Pie Chart Slices\" width=\"389\" height=\"411\" \/><\/a><\/p>\n<h4>Offsetting the Labels in a Pie Chart<\/h4>\n<p>Labels may be moved outside the pie slices for greater visibility if they overlap or otherwise hinder the reading of the chart. Matplotlib&#8217;s labeldistance option enables us to do this by setting the label&#8217;s radial distance from the pie chart&#8217;s origin. The labels may be moved farther away from the slices by raising the labeldistance value. Because of this, overlapping labels are avoided, and readability is improved.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.pie(vals, labels=cats, labeldistance=1.2)\r\nplott.title('Pie Chart &amp; Offset Labels DataFlair')\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Offsetting-the-Labels.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125483 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Offsetting-the-Labels.webp\" alt=\"Offsetting the Labels\" width=\"396\" height=\"411\" \/><\/a><\/p>\n<h3>Personalising Pie Chart Designs in Matplotlib<\/h3>\n<h4>Properties of Shadows and Wedges<\/h4>\n<p>Including a shadow effect will give our pie chart a three-dimensional aspect, increasing its aesthetic appeal and making it stand out from the crowd.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">list_s = [15, 10, 12, 8, 5]\r\ncats = ['A', 'B', 'C', 'D', 'E']\r\nlist_c = ['orange', 'purple', 'cyan', 'yellow', 'maroon']\r\n\r\n\r\nplott.pie(list_s, labels=cats, colors=list_c, shadow=True)\r\nplott.title('Pie Chart &amp; Shadow Effect DataFlair')\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Properties-of-Shadows-and-Wedges.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125484 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Properties-of-Shadows-and-Wedges.webp\" alt=\"Properties of Shadows and Wedges\" width=\"389\" height=\"411\" \/><\/a><\/p>\n<p>Pie charts may be made to seem more creative by modifying their &#8220;wedge properties,&#8221; which allow us to add our own spin on the traditional pie shape. The width, edge colour, and other characteristics may be modified to get the desired look.<\/p>\n<h4>Donut Charts<\/h4>\n<p>Representing data in a different way, donut charts are a variant of pie charts in which the centre is cut out, producing a hollow circle. This variant may shed light on the data&#8217;s proportions and makeup in a new light.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.pie(list_s, labels=cats, colors=list_c, wedgeprops={'width': 0.5})\r\nplott.title('Donut Chart DataFlair')\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Donut-Charts.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125486 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Donut-Charts.webp\" alt=\"Donut Charts \" width=\"389\" height=\"411\" \/><\/a><\/p>\n<p>To show data in a novel and aesthetically attractive way, we may use donut charts as an alternative to pie charts for visualising proportion and composition.<\/p>\n<h3>Labels and Legends in Pie Charts<\/h3>\n<h4>Annotating the data labels<\/h4>\n<p><strong>1. Labelling each slice with the percentage or absolute value<\/strong><\/p>\n<p>Each pie slice may be labelled with information such as the percentage or absolute value it represents.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.pie(list_s, labels=cats, colors=list_c, autopct='%1.1f%%')\r\nplott.title('Pie Chart &amp; Data Labels DataFlair')\r\nplott.show()\r\n<\/pre>\n<h4><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/pie-charts-data-labels.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-126583 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/pie-charts-data-labels.webp\" alt=\"pie charts data labels\" width=\"389\" height=\"411\" \/><\/a><\/h4>\n<p><strong>2. Changing the format, position, and style of the labels<\/strong><\/p>\n<p>Matplotlib has many options for changing the format, position, and style of the data labels, allowing us to customise them to our individual needs.<\/p>\n<h4>Configuring the Legend:<\/h4>\n<p><strong>1. Adding a category legend<\/strong><\/p>\n<p>Pie charts may be made more understandable by including a legend that provides a key to the many categories shown within the chart.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">plott.pie(list_s, labels=cats, colors=list_c)\r\nplott.title('Pie Chart &amp; Legend DataFlair')\r\nplott.legend()\r\nplott.show()\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Configuring-the-Legend.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-125488 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/11\/Configuring-the-Legend.webp\" alt=\"Configuring the Legend \" width=\"389\" height=\"411\" \/><\/a><\/p>\n<p><strong>2. Changing the placement, font, and look of the legend<\/strong><\/p>\n<p>Matplotlib allows us to position the legend as well as customise its font, size, and style, enabling us to build a visually appealing and useful chart.<\/p>\n<h3>Conclusion<\/h3>\n<p>To sum up, pie charts are a flexible method of displaying data&#8217;s relative parts and wholes. Matplotlib provides a wide variety of aesthetic and presentation choices for pie charts. Shadow effects, doughnut charts, data labels, and legends are just a few of the methods that may be used to produce eye-catching and useful visualisations. Pie charts have many applications in data visualisation, and we hope you&#8217;ll take the time to learn how to make the most of them using Matplotlib.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding Matplotlib Pie Charts Pie Charts: A Brief Introduction Pie charts are often used to display percentages or other relative measures of data. Categorical data may be easily understood in terms of its distribution&#46;&#46;&#46;<\/p>\n","protected":false},"author":86671,"featured_media":115712,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27777],"tags":[8601,29097,29058,29098,29096],"class_list":["post-115709","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-matplotlib-tutorials","tag-matplotlib","tag-matplotlib-pie-chart","tag-matplotlib-tutorial","tag-pie-chart-design","tag-pie-chart-in-matplotlib"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pie Charts in Matplotlib - DataFlair<\/title>\n<meta name=\"description\" content=\"Pie charts are a flexible method of displaying data&#039;s relative parts and wholes. Matplotlib provides a wide variety of aesthetic and presentation choices for pie charts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pie Charts in Matplotlib - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Pie charts are a flexible method of displaying data&#039;s relative parts and wholes. Matplotlib provides a wide variety of aesthetic and presentation choices for pie charts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-20T12:30:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-20T12:50:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/pie-chart-in-matplotlib.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1141\" \/>\n\t<meta property=\"og:image:height\" content=\"593\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pie Charts in Matplotlib - DataFlair","description":"Pie charts are a flexible method of displaying data's relative parts and wholes. Matplotlib provides a wide variety of aesthetic and presentation choices for pie charts.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/","og_locale":"en_US","og_type":"article","og_title":"Pie Charts in Matplotlib - DataFlair","og_description":"Pie charts are a flexible method of displaying data's relative parts and wholes. Matplotlib provides a wide variety of aesthetic and presentation choices for pie charts.","og_url":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2023-12-20T12:30:21+00:00","article_modified_time":"2023-12-20T12:50:19+00:00","og_image":[{"width":1141,"height":593,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/pie-chart-in-matplotlib.webp","type":"image\/webp"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/0e594f928e31fc96628ac40f6ae74f49"},"headline":"Pie Charts in Matplotlib","datePublished":"2023-12-20T12:30:21+00:00","dateModified":"2023-12-20T12:50:19+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/"},"wordCount":806,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/pie-chart-in-matplotlib.webp","keywords":["Matplotlib","matplotlib pie chart","matplotlib tutorial","pie chart design","pie chart in matplotlib"],"articleSection":["Matplotlib Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/","url":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/","name":"Pie Charts in Matplotlib - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/pie-chart-in-matplotlib.webp","datePublished":"2023-12-20T12:30:21+00:00","dateModified":"2023-12-20T12:50:19+00:00","description":"Pie charts are a flexible method of displaying data's relative parts and wholes. Matplotlib provides a wide variety of aesthetic and presentation choices for pie charts.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/pie-chart-in-matplotlib.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/06\/pie-chart-in-matplotlib.webp","width":1141,"height":593,"caption":"pie chart in matplotlib"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/pie-charts-in-matplotlib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Matplotlib Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/matplotlib-tutorials\/"},{"@type":"ListItem","position":3,"name":"Pie Charts in Matplotlib"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/0e594f928e31fc96628ac40f6ae74f49","name":"TechVidvan Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c89190da3d4010c71ba476b618ab10fdc2335c82cdfa0ad5002d98d0f2473444?s=96&d=mm&r=g","caption":"TechVidvan Team"},"description":"TechVidvan Team provides high-quality content &amp; courses on AI, ML, Data Science, Data Engineering, Data Analytics, programming, Python, DSA, Android, Flutter, full stack web dev, MERN, and many latest technology.","url":"https:\/\/data-flair.training\/blogs\/author\/test001\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/115709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/86671"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=115709"}],"version-history":[{"count":8,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/115709\/revisions"}],"predecessor-version":[{"id":132288,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/115709\/revisions\/132288"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/115712"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=115709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=115709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=115709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}