

{"id":56792,"date":"2019-06-07T15:12:51","date_gmt":"2019-06-07T09:42:51","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=56792"},"modified":"2019-06-07T15:36:52","modified_gmt":"2019-06-07T10:06:52","slug":"pandas-visualization-tutorial","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/","title":{"rendered":"Pandas Visualization &#8211; Plot 7 Types of Charts in Pandas in just 7 min."},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:1517,&quot;href&quot;:&quot;https:\\\/\\\/download.mlcc.google.com\\\/mledu-datasets\\\/california_housing_train.csv&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/dl.google.com\\\/mlcc\\\/mledu-datasets\\\/california_housing_train.csv&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1518,&quot;href&quot;:&quot;https:\\\/\\\/pandas.pydata.org\\\/pandas-docs\\\/stable\\\/reference\\\/api\\\/pandas.DataFrame.plot.pie.html&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251002211338\\\/https:\\\/\\\/pandas.pydata.org\\\/pandas-docs\\\/stable\\\/reference\\\/api\\\/pandas.DataFrame.plot.pie.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 10:04:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-18 20:13:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-22 08:51:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-25 17:44:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-10 16:02:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-13 16:28:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-23 09:34:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-07 03:26:24&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 14:32:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-22 06:57:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-26 07:10:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-03 09:12:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 23:49:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-11 08:04:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-23 17:13:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-08 16:15:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-12 01:28:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-22 15:02:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 01:48:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-13 10:29:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-17 07:56:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-22 08:08:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-04 17:14:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-07 20:29:37&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-07 20:29:37&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>Python Pandas is mainly used to import and manage datasets in a variety of format. Today, a huge amount of data is generated in a day and Pandas visualization helps us to represent the data in the form of a histogram, line chart, pie chart, scatter chart etc.<\/p>\n<h2>Pandas Visualization<\/h2>\n<p>Visualization of data is important to understand the nuances of your dataset.\u00a0Before we start Pandas Virtualization, we have to import\u00a0the essential libraries. NumPy, Pandas, and Matplotlib.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; import numpy as np\r\n&gt;&gt;&gt; import pandas as pd\r\n&gt;&gt;&gt; import matplotlib.pyplot as plt<\/pre>\n<p>Next, we will import data from a csv file. The CSV file can be found at:<a href=\"https:\/\/download.mlcc.google.com\/mledu-datasets\/california_housing_train.csv\"> https:\/\/download.mlcc.google.com\/mledu-datasets\/california_housing_train.csv<\/a><\/p>\n<p>After importing the file, we will print the first 5 rows of the dataset using the <strong>.head() function.<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair = pd.read_csv(\"https:\/\/download.mlcc.google.com\/mledu-datasets\/california_housing_train.csv\", sep=\",\")\r\n&gt;&gt;&gt; dataflair.head()<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<p>longitude latitude housing_median_age total_rooms total_bedrooms population households median_income median_house_value<br \/>\n0 -114.31 34.19 15.0 5612.0 1283.0 1015.0 472.0 1.4936 66900.0<br \/>\n1 -114.47 34.40 19.0 7650.0 1901.0 1129.0 463.0 1.8200 80100.0<br \/>\n2 -114.56 33.69 17.0 720.0 174.0 333.0 117.0 1.6509 85700.0<br \/>\n3 -114.57 33.64 14.0 1501.0 337.0 515.0 226.0 3.1917 73400.0<br \/>\n4 -114.57 33.57 20.0 1454.0 326.0 624.0 262.0 1.9250 65500.0<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-56806 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization.png\" alt=\"Import python Libraries\" width=\"1366\" height=\"717\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization.png 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization-150x79.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization-300x157.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization-768x403.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization-1024x537.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Import-python-Libraries-for-Pandas-Virtulization-520x273.png 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<h2>Types of\u00a0Visualization in Pandas<\/h2>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-56815 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg\" alt=\"Visualization in Pandas\" width=\"802\" height=\"420\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg 802w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas-520x272.jpg 520w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><\/p>\n<h3>1. How to Plot a Histogram in Pandas?<\/h3>\n<p>With the help of <strong>.hist() function<\/strong>, we can plot a histogram based on the parameters. In the example below, we have tried to find the histogram based on the \u201chousehold\u201d column.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair[\"households\"].hist()\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><em><strong>Do you know <a href=\"https:\/\/data-flair.training\/blogs\/python-pandas-features\/\">what makes Python Pandas Unique?<\/a><\/strong><\/em><\/p>\n<p><strong>Output:<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58361 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas.jpg\" alt=\"Plot a Histogram in Pandas\" width=\"1366\" height=\"702\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas.jpg 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas-150x77.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas-300x154.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas-768x395.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas-1024x526.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Histogram-in-Pandas-520x267.jpg 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Histogram-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58377 size-medium\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Histogram-in-Pandas-300x276.jpg\" alt=\" Histogram in Pandas\" width=\"300\" height=\"276\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Histogram-in-Pandas-300x276.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Histogram-in-Pandas-150x138.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Histogram-in-Pandas-520x478.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Histogram-in-Pandas.jpg 639w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h3>\n<h3>2. How to Plot a Line Chart in Pandas?<\/h3>\n<p>The<strong> .line function<\/strong> gives a line plot. We can set the x and y axis. In the example, we chose x-axis as the \u201cpopulation\u201d and y-axis is \u201cmedian income\u201d.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair.plot.line(x='population', y='median_income', figsize=(8,6))\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58364 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas.jpg\" alt=\"Plot a Line Chart\" width=\"1366\" height=\"682\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas.jpg 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas-150x75.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas-300x150.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas-768x383.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas-1024x511.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Line-Chart-in-Pandas-520x260.jpg 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58378 size-medium\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas-300x264.jpg\" alt=\"Line Chart in Pandas\" width=\"300\" height=\"264\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas-300x264.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas-150x132.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas-768x677.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas-520x458.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Line-Chart-in-Pandas.jpg 801w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h3>\n<p><em><strong>Recommended Reading &#8211;\u00a0<a href=\"https:\/\/data-flair.training\/blogs\/applications-of-pandas\/\">10 Amazing Applications of Pandas<\/a><\/strong><\/em><\/p>\n<h3>3. How to Plot Scatter Chart in Pandas?<\/h3>\n<p>The <strong>.scatter function<\/strong>\u00a0lets us plot a scatter graph. Just like the previous function, the x and y-axes can be defined and the size of the graph can be set by the figsize parameter.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair.plot.scatter(x='population', y='median_income', figsize=(8,6))\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58367 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas.jpg\" alt=\"Plot Scatter Chart\" width=\"1366\" height=\"711\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas.jpg 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas-150x78.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas-300x156.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas-768x400.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas-1024x533.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Scatter-Chart-in-Pandas-520x271.jpg 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-58379\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas-300x264.jpg\" alt=\"Scatter Chart in Pandas\" width=\"300\" height=\"264\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas-300x264.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas-150x132.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas-768x677.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas-520x458.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Scatter-Chart-in-Pandas.jpg 801w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>4. How to Plot a Boxplot in Pandas?<\/h3>\n<p>A boxplot is basically a five number summary of the data. It consists of the minimum, maximum, first quartile, median or second quartile, and the third quartile. The small dots are the outliers of the data. Here, we use\u00a0<strong>.box function<\/strong>\u00a0to plot a box plot graph.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair.plot.box(figsize=(8,6))\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><em><strong>Don&#8217;t forget to check out- <a href=\"https:\/\/data-flair.training\/blogs\/pandas-function-applications\/\">Pandas Function Applications<\/a><\/strong><\/em><\/p>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58368 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas.jpg\" alt=\"Plot a Boxplot\" width=\"1366\" height=\"675\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas.jpg 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas-150x74.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas-300x148.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas-768x380.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas-1024x506.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Boxplot-in-Pandas-520x257.jpg 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58380 size-large\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas-1024x555.jpg\" alt=\" Boxplot in Pandas\" width=\"1024\" height=\"555\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas-1024x555.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas-150x81.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas-300x163.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas-768x416.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas-520x282.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Boxplot-in-Pandas.jpg 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<h3>5. How to Plot Hexagonal Chart in Pandas?<\/h3>\n<p>In such a graph a hexagon represents points of intersection. The increase in the points of intersection increases the darkness of the color of the hexagon. We can create a hexagonal chart with the help of\u00a0<strong>.plot.hexbin function<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair.plot.hexbin(x='population', y='median_income',gridsize=30, figsize=(8,6))\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-58369\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas.jpg\" alt=\"Plot Hexagonal Chart in Pandas\" width=\"1366\" height=\"699\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas.jpg 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas-150x77.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas-300x154.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas-768x393.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas-1024x524.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Hexagonal-Chart-in-Pandas-520x266.jpg 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-58381\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas-300x264.jpg\" alt=\"Hexagonal Chart in Pandas\" width=\"300\" height=\"264\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas-300x264.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas-150x132.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas-768x677.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas-520x458.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Hexagonal-Chart-in-Pandas.jpg 801w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>6. How to Plot a Pie Chart in Pandas?<\/h3>\n<p>We can plot a pie chart with the help of<a href=\"https:\/\/pandas.pydata.org\/pandas-docs\/stable\/reference\/api\/pandas.DataFrame.plot.pie.html\"> .plot.pie function<\/a>. But first, we will make a new dataset which is smaller and has less values to represent, unlike our previous dataset. Therefore, the pie chart would be indecipherable.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair= pd.DataFrame({'cost': [79, 40 , 60]},index=['Oranges', 'Bananas', 'Apples'])<\/pre>\n<p>Now, we will plot the pie chart using:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair.plot.pie(y='cost', figsize=(8, 6))\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58374 size-large\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas-1024x511.jpg\" alt=\"Plot a Pie Chart in Pandas\" width=\"1024\" height=\"511\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas-1024x511.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas-150x75.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas-300x150.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas-768x383.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas-520x259.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-a-Pie-Chart-in-Pandas.jpg 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Pie-chart-in-Pandas.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-56814 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Pie-chart-in-Pandas.png\" alt=\"Pandas Pie Chart\" width=\"400\" height=\"404\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Pie-chart-in-Pandas.png 400w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Pie-chart-in-Pandas-297x300.png 297w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<h3>7.\u00a0How to Plot Kernel Density Chart in Pandas?<\/h3>\n<p>We can plot kernel density graphs with the help of the<strong> .kde function<\/strong>. This gives us the graph for a particular column, in this case, \u201cmedian_income\u201d, and the density corresponding the various values of the column values.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; dataflair[\"median_income\"].plot.kde()\r\n&gt;&gt;&gt; plt.show()<\/pre>\n<p><strong>Output-<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-58376 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas.jpg\" alt=\"Plot Kernel Density Chart\" width=\"1366\" height=\"695\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas.jpg 1366w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-150x76.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-300x153.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-768x391.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1024x521.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-520x265.jpg 520w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-58382\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1-300x275.jpg\" alt=\"Plot Kernel Density Chart in Pandas\" width=\"300\" height=\"275\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1-300x275.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1-150x137.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1-520x476.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/06\/Plot-Kernel-Density-Chart-in-Pandas-1.jpg 641w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>Summary<\/h2>\n<p>The data visualization capabilities of Pandas are depended on the Matplotlib library.<\/p>\n<p>Now, you can plot any kind of charts with the help of Pandas visualization. You can use .hist(),\u00a0.line ,\u00a0.scatter , .box,\u00a0\u00a0plot.hexbin,\u00a0.plot.pie,\u00a0.kde functions to plot respective charts. We discussed each function with the help of an example. Hope, you liked it!<\/p>\n<p><em><strong>Explore<a href=\"https:\/\/data-flair.training\/blogs\/pandas-options-and-customizations\/\"> 5 Core Options to Customize Your Data<\/a><\/strong><\/em><\/p>\n<p>At last, don&#8217;t forget to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python Pandas is mainly used to import and manage datasets in a variety of format. Today, a huge amount of data is generated in a day and Pandas visualization helps us to represent the&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":56815,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19475],"tags":[19853,19858,19859,19851,19855,19848,19847,19852],"class_list":["post-56792","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pandas","tag-pandas-histogram","tag-pandas-kernel-density-chart","tag-pandas-pie-chart","tag-pandas-visualization","tag-scatter-chart-in-pandas","tag-visualisation-using-pandas","tag-visualisation-with-pandas","tag-visualization-in-pandas"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pandas Visualization - Plot 7 Types of Charts in Pandas in just 7 min. - DataFlair<\/title>\n<meta name=\"description\" content=\"Pandas Visualization helps us to represent the data in the form of a histogram, line chart, pie chart, scatter chart, hexagonal, kernal density chart with examples\" \/>\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\/pandas-visualization-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pandas Visualization - Plot 7 Types of Charts in Pandas in just 7 min. - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Pandas Visualization helps us to represent the data in the form of a histogram, line chart, pie chart, scatter chart, hexagonal, kernal density chart with examples\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/\" \/>\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=\"2019-06-07T09:42:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-07T10:06:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair 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=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pandas Visualization - Plot 7 Types of Charts in Pandas in just 7 min. - DataFlair","description":"Pandas Visualization helps us to represent the data in the form of a histogram, line chart, pie chart, scatter chart, hexagonal, kernal density chart with examples","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\/pandas-visualization-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Pandas Visualization - Plot 7 Types of Charts in Pandas in just 7 min. - DataFlair","og_description":"Pandas Visualization helps us to represent the data in the form of a histogram, line chart, pie chart, scatter chart, hexagonal, kernal density chart with examples","og_url":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2019-06-07T09:42:51+00:00","article_modified_time":"2019-06-07T10:06:52+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Pandas Visualization &#8211; Plot 7 Types of Charts in Pandas in just 7 min.","datePublished":"2019-06-07T09:42:51+00:00","dateModified":"2019-06-07T10:06:52+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/"},"wordCount":583,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg","keywords":["Pandas Histogram","Pandas Kernel Density Chart","Pandas Pie chart","Pandas Visualization","Scatter Chart in Pandas","Visualisation using Pandas","Visualisation with Pandas","Visualization in pandas"],"articleSection":["Pandas Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/","url":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/","name":"Pandas Visualization - Plot 7 Types of Charts in Pandas in just 7 min. - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg","datePublished":"2019-06-07T09:42:51+00:00","dateModified":"2019-06-07T10:06:52+00:00","description":"Pandas Visualization helps us to represent the data in the form of a histogram, line chart, pie chart, scatter chart, hexagonal, kernal density chart with examples","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/05\/Visualization-in-Pandas.jpg","width":802,"height":420,"caption":"Visualization in Pandas"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/pandas-visualization-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Pandas Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/pandas\/"},{"@type":"ListItem","position":3,"name":"Pandas Visualization &#8211; Plot 7 Types of Charts in Pandas in just 7 min."}]},{"@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\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/56792","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=56792"}],"version-history":[{"count":9,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/56792\/revisions"}],"predecessor-version":[{"id":58467,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/56792\/revisions\/58467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/56815"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=56792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=56792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=56792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}