{"id":29095,"date":"2015-07-22T15:51:06","date_gmt":"2015-07-22T15:51:06","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=29095"},"modified":"2015-07-22T15:59:39","modified_gmt":"2015-07-22T15:59:39","slug":"how-to-make-pie-chart-in-visualforce","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/","title":{"rendered":"How To Make Pie Chart in Visualforce"},"content":{"rendered":"<p>A <strong>Visualforce chart<\/strong> is defined using a series of charting components, which are then linked to a data source to be graphed on the chart.<\/p>\n<p>Create a chart with Visualforce by doing the following:<\/p>\n<ul>\n<li>Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.<\/li>\n<li>Define your chart using the Visualforce charting components.<\/li>\n<\/ul>\n<p>When the page containing the chart loads, the chart data is bound to a chart component, and the JavaScript that draws the chart is generated. When the JavaScript executes, the chart is drawn in the browser.<\/p>\n<p>A Visualforce chart requires that you create a chart container component, which encloses at least one data series component. You can optionally add additional series components, chart axes, as well as labeling components such as a legend, chart labels, and tooltips for data points.<\/p>\n<pre class=\"brush:java\">&lt;apex:page controller=\"PieChartController\" title=\"Pie Chart\"&gt; \u00a0\u00a0\u00a0 \r\n &lt;apex:chart height=\"250\" width=\"350\" data=\"{!pieData}\"&gt; \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \r\n  &lt;apex:pieSeries dataField=\"data\" labelField=\"name\"\/&gt; \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \r\n    &lt;apex:legend position=\"right\"\/&gt; \u00a0\u00a0\u00a0 \r\n  &lt;\/apex:chart&gt; \r\n&lt;\/apex:page&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>The component defines the chart container, and binds the component to the data source, the getPieData() controller method. The describes the label and data fields to access in the returned data, to label and size each data point. Here\u2019s the associated controller:<\/p>\n<pre class=\"brush:java\">public class PieChartController {\r\n    public List getPieData() {\r\n        List data = new List();\r\n        data.add(new PieWedgeData('Cs-cart', 15));\r\n        data.add(new PieWedgeData('Salesforce', 25));\r\n        data.add(new PieWedgeData('Joomla', 20));\r\n        data.add(new PieWedgeData('X-cart', 10));\r\n        data.add(new PieWedgeData('Wordpress', 25));\r\n        data.add(new PieWedgeData('Bigcommerce', 30));\r\n        return data;\r\n    }\r\n\r\n    \/\/ Wrapper class\r\n    public class PieWedgeData {\r\n\r\n        public String name { get; set; }\r\n        public Integer data { get; set; }\r\n\r\n        public PieWedgeData(String name, Integer data) {\r\n            this.name = name;\r\n            this.data = data;\r\n        }\r\n    }\r\n}\r\n\r\n<\/pre>\n<div class=\"p\">This controller is deliberately simple; you normally issue one or more SOQL queries to collect your data.<\/div>\n<div class=\"p\">\n<p>These are the important points illustrated by the example:<\/p>\n<ul class=\"ul bulletList\">\n<li class=\"li\">The <samp class=\"codeph apex_code\">getPieData()<\/samp> method returns a List of simple objects, an inner class PieWedgeData used as a wrapper. Each element in the list is used to create a data point.<\/li>\n<li class=\"li\">The PieWedgeData class is just a set of properties, and is essentially used as a <span class=\"keyword parmname\">name<\/span>=<var class=\"keyword varname\">value<\/var> store.<\/li>\n<li class=\"li\">The chart series component <samp class=\"codeph apex_page\"><span class=\"tag\">&lt;apex:pieSeries<\/span>&gt;<\/samp> defines which properties from the PieWedgeData class to use to determine each point in the series. In this simple example there\u2019s no mystery, but in charts with multiple series and axes this convention allows the efficient return of the entire data set in one List object.<\/li>\n<\/ul>\n<div class=\"panel panel-success\">\n<div class=\"panel-heading\">\n<h3 class=\"panel-title\"><i class=\"fa fa-cog\"><\/i>Output<\/h3>\n<\/div>\n<p><a href=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\"><img decoding=\"async\" class=\"alignone size-full wp-image-29117\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\" alt=\"Visualforce Page\" width=\"1301\" height=\"640\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png 1301w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce-250x123.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce-300x148.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce-1200x590.png 1200w\" sizes=\"(max-width: 1301px) 100vw, 1301px\" loading=\"lazy\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A Visualforce chart is defined using a series of charting components, which are then linked to a data source to be graphed on the chart. Create a chart with Visualforce by doing the following: Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser. Define your chart <a href=\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1889,1887,1888],"tags":[1884,1934,1935,1885,1933],"class_list":["post-29095","post","type-post","status-publish","format-standard","hentry","category-apex","category-salesforce","category-visualforce","tag-apex","tag-chart","tag-piechart","tag-salesforce","tag-visualforce"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Make Pie Chart in Visualforce<\/title>\n<meta name=\"description\" content=\"How To Make Pie Chart in Visualforce:- Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Make Pie Chart in Visualforce\" \/>\n<meta property=\"og:description\" content=\"How To Make Pie Chart in Visualforce:- Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ayush.mbd\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-22T15:51:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-07-22T15:59:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\" \/>\n<meta name=\"author\" content=\"Ayush Mittal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/ayushmbd\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ayush Mittal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\"},\"author\":{\"name\":\"Ayush Mittal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e40625c367d981fb177b6d91e98d8610\"},\"headline\":\"How To Make Pie Chart in Visualforce\",\"datePublished\":\"2015-07-22T15:51:06+00:00\",\"dateModified\":\"2015-07-22T15:59:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\"},\"wordCount\":321,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\",\"keywords\":[\"Apex\",\"Chart\",\"Piechart\",\"Salesforce\",\"Visualforce\"],\"articleSection\":[\"Apex\",\"Salesforce\",\"Visualforce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\",\"name\":\"How To Make Pie Chart in Visualforce\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\",\"datePublished\":\"2015-07-22T15:51:06+00:00\",\"dateModified\":\"2015-07-22T15:59:39+00:00\",\"description\":\"How To Make Pie Chart in Visualforce:- Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage\",\"url\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\",\"contentUrl\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Make Pie Chart in Visualforce\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/e40625c367d981fb177b6d91e98d8610\",\"name\":\"Ayush Mittal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1a287220ee7e0460b4490bfe2145f413f5cbd4459dcb31b3ebe46b90f8055a48?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1a287220ee7e0460b4490bfe2145f413f5cbd4459dcb31b3ebe46b90f8055a48?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ayush Mittal\"},\"sameAs\":[\"http:\/\/webkul.com\",\"https:\/\/www.facebook.com\/ayush.mbd\",\"https:\/\/x.com\/https:\/\/twitter.com\/ayushmbd\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/ayush\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Make Pie Chart in Visualforce","description":"How To Make Pie Chart in Visualforce:- Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.","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:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/","og_locale":"en_US","og_type":"article","og_title":"How To Make Pie Chart in Visualforce","og_description":"How To Make Pie Chart in Visualforce:- Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.","og_url":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_author":"https:\/\/www.facebook.com\/ayush.mbd","article_published_time":"2015-07-22T15:51:06+00:00","article_modified_time":"2015-07-22T15:59:39+00:00","og_image":[{"url":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png","type":"","width":"","height":""}],"author":"Ayush Mittal","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/ayushmbd","twitter_site":"@webkul","twitter_misc":{"Written by":"Ayush Mittal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/"},"author":{"name":"Ayush Mittal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e40625c367d981fb177b6d91e98d8610"},"headline":"How To Make Pie Chart in Visualforce","datePublished":"2015-07-22T15:51:06+00:00","dateModified":"2015-07-22T15:59:39+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/"},"wordCount":321,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage"},"thumbnailUrl":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png","keywords":["Apex","Chart","Piechart","Salesforce","Visualforce"],"articleSection":["Apex","Salesforce","Visualforce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/","url":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/","name":"How To Make Pie Chart in Visualforce","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage"},"thumbnailUrl":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png","datePublished":"2015-07-22T15:51:06+00:00","dateModified":"2015-07-22T15:59:39+00:00","description":"How To Make Pie Chart in Visualforce:- Write an Apex method that queries for, calculates, and wraps your chart data to send to the browser.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#primaryimage","url":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png","contentUrl":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2015\/07\/visualforce.png"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-make-pie-chart-in-visualforce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Make Pie Chart in Visualforce"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/e40625c367d981fb177b6d91e98d8610","name":"Ayush Mittal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1a287220ee7e0460b4490bfe2145f413f5cbd4459dcb31b3ebe46b90f8055a48?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1a287220ee7e0460b4490bfe2145f413f5cbd4459dcb31b3ebe46b90f8055a48?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ayush Mittal"},"sameAs":["http:\/\/webkul.com","https:\/\/www.facebook.com\/ayush.mbd","https:\/\/x.com\/https:\/\/twitter.com\/ayushmbd"],"url":"https:\/\/webkul.com\/blog\/author\/ayush\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/29095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=29095"}],"version-history":[{"count":32,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/29095\/revisions"}],"predecessor-version":[{"id":29128,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/29095\/revisions\/29128"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=29095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=29095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=29095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}