{"id":79527,"date":"2020-08-05T19:05:51","date_gmt":"2020-08-05T13:35:51","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=79527"},"modified":"2020-08-05T19:05:51","modified_gmt":"2020-08-05T13:35:51","slug":"charts-in-python","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/","title":{"rendered":"Data Visualization with Different Charts in Python"},"content":{"rendered":"<p>Python programming provides a helping hand towards <strong>Data Visualization<\/strong>. Plotting different kinds of <strong>charts<\/strong> in Python has never been easier as it is with the use of <strong>NumPy<\/strong> and <strong>Matplotlib<\/strong> <strong>libraries<\/strong>.<\/p>\n<p>Let\u2019s find out!<\/p>\n<h3>Prerequisites<\/h3>\n<p>For this particular tutorial, we require three libraries- <strong>Matplotlib<\/strong>, <strong>NumPy<\/strong>, and <strong>SciPy<\/strong>. To install these libraries on <strong>PyCharm<\/strong>, below step is must:<\/p>\n<p><strong>[ File&gt; Settings&gt; Project&gt; Project Interpreter&gt; + &gt; install the libraries]<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import matplotlib.pyplot as plt\nimport numpy as np\n\n<\/pre>\n<p>a. <strong>Plt<\/strong> and <strong>np<\/strong> becomes handy in the <strong>further code<\/strong> to reference the <strong>library<\/strong> again and again without writing the <strong>whole statement<\/strong> again.<\/p>\n<ul>\n<li><strong>NumPy<\/strong> helps us in dealing with <strong>arrays<\/strong> and <strong>mathematical calculations<\/strong>.<\/li>\n<li><strong> Matplotlib<\/strong> can be used to show these through <strong>graphs<\/strong>.<\/li>\n<li><strong>SciPy<\/strong> is also a <strong>subpart<\/strong> of <strong>NumPy<\/strong> used for importing <strong>mathematical functions<\/strong> for forming <strong>charts<\/strong> and <strong>graphs<\/strong>.<\/li>\n<\/ul>\n<h3>Bubble Charts in Python<\/h3>\n<p>These can be used to <strong>plot random values<\/strong> on the chart as <strong>3- dimensional<\/strong>. The default shape is a <strong>bubble<\/strong> or <strong>circles<\/strong>, and its <strong>size<\/strong> depends on its <strong>value<\/strong>.<\/p>\n<h3>Important Functions in Python<\/h3>\n<p>a. Plot() function: Used to <strong>plot<\/strong> the <strong>points<\/strong> or <strong>data<\/strong> on the graph.<\/p>\n<p>b. Label([ ]) function: Used to<strong> label the axes ( x and y )<\/strong> on the graph.<\/p>\n<p>c. Title() function: Used to give <strong>heading<\/strong> to the graph.<\/p>\n<p>d. Legend() function: Used to mention the <strong>data depicted<\/strong> through the graph.<\/p>\n<p>e. Show() function: Used to display the <strong>generated graph<\/strong>.<\/p>\n<p>f. Np. random.rand() function: This returns the given set of values in a <strong>uniform distribution<\/strong> with bubbles.<\/p>\n<p>g. Plt.Scatter(x,y,sz): <strong>s<\/strong> here is to plot the random points with a particular <strong>size<\/strong>. S takes the argument of <strong>z<\/strong> to get the particular size <strong>multiplied<\/strong> by it&#8217;s <strong>vector length<\/strong>. We specify <strong>sz<\/strong> with a <strong>length equal<\/strong> to the vector length of <strong>x<\/strong> and <strong>y<\/strong>.<\/p>\n<p>Let\u2019s build our charts in Python:<\/p>\n<h3>Build Charts in Python<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x = np.random.rand(40)\ny = np.random.rand(40)\nz = np.random.rand(40)\n# Scatter Function for bubble chart:\nplt.title(\"TechVidvan Chart 1\")\nplt.xlabel(\"X axis\")\nplt.ylabel(\"Y axis\")\nplt.scatter(x, y, s=z * 600, alpha=0.6,c=\"purple\")\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Bubble-Chart.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79554\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Bubble-Chart.png\" alt=\"Bubble Chart in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>a. <strong>Alpha<\/strong> is to give <strong>transparency<\/strong> to the <strong>bubbles<\/strong>.<br \/>\nb. <strong>C=<\/strong> Used for giving <strong>color<\/strong> to the <strong>bubbles<\/strong>.<\/p>\n<h3>Markers in Python<\/h3>\n<p>Some <strong>Predefined symbols<\/strong> or <strong>numbers<\/strong> are used to <strong>present<\/strong> the <strong>data<\/strong> on the <strong>chart<\/strong> instead of <strong>just bubbles<\/strong>.<\/p>\n<p>Let\u2019s see its variety:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(30)\ny=np.random.rand(30)\nz=np.random.rand(30)\ncolors=np.random.rand(30)\nplt.scatter(x,y,s=z*900,c=colors,marker=\"P\")\nplt.title(\"TechVidvan Chart 2\")\nplt.xlabel(\"X axis\")\nplt.ylabel(\"Y axis\")\nplt.show()\n<\/pre>\n<p>a. <strong>\u201cP\u201d<\/strong> in capital stands for a <strong>filled plus signed marker<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(40)\ny=np.random.rand(40)\nz=np.random.rand(40)\nplt.scatter(x,y,s=z*500,c=\"red\",marker=\"&gt;\")\nplt.title(\"TechVidvan Chart 3\")\nplt.xlabel(\"X axis\")\nplt.ylabel(\"Y axis\")\nplt.show()\n<\/pre>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Using-Colors.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79553\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Using-Colors.png\" alt=\"Using Colors in python charts\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>b. <strong>\u201c&gt;\u201d<\/strong> displays <strong>right pointed triangles<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(30)\ny=np.random.rand(30)\nz=np.random.rand(30)\nplt.scatter(x,y,s=z*770,c=\"orange\",marker=\"s\")\nplt.title(\"TechVidvan Chart 4\")\nplt.xlabel(\"X axis\")\nplt.ylabel(\"Y axis\")\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Triangle-Marker.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79551\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Triangle-Marker.png\" alt=\"Triangle Marker in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>c. <strong>\u201cs\u201d<\/strong> displays <strong>squares<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(50)\ny=np.random.rand(50)\nz=np.random.rand(50)\nplt.scatter(x,y,s=z*800,c=\"black\",marker=\"X\")\nplt.title(\"TechVidvan Chart 5\")\nplt.xlabel(\"X axis\")\nplt.ylabel(\"Y axis\")\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Square-Markers.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79552\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Square-Markers.png\" alt=\"Square Markers in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>d. <strong>\u201cx\u201d<\/strong> displays filled <strong>X<\/strong>.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Plus-Sign-Markers.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79550\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Plus-Sign-Markers.png\" alt=\"Plus Sign Markers\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<h3>Styling Charts in Python<\/h3>\n<h4>a. Edgecolors<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(40)\n\ny=np.random.rand(40)\n\nz=np.random.rand(40)\n\nplt.scatter(x,y,s=z*600,c=\"YellowGreen\",marker=\"*\",edgecolors=\"brown\")\n\nplt.title(\"TechVidvan Chart 6\")\n\nplt.xlabel(\"X axis\")\n\nplt.ylabel(\"Y axis\")\n\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Edgecolour.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79549\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Edgecolour.png\" alt=\"Edgecolour in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p><strong>Edgecolors<\/strong> provide <strong>borders<\/strong> to the <strong>markers<\/strong> of a <strong>specific color<\/strong>.<\/p>\n<h4>b. Linewidth<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(30)\n\ny=np.random.rand(30)\n\nz=np.random.rand(30)\n\nplt.scatter(x,y,s=z*400,c=\"blue\",marker=\"d\",edgecolors=\"yellow\",linewidths=3)\n\nplt.title(\"TechVidvan Chart 7\")\n\nplt.xlabel(\"X axis\")\n\nplt.ylabel(\"Y axis\")\n\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Linewidth.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79548\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Linewidth.png\" alt=\"linewidth in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p><strong>Linewidths<\/strong> determine the <strong>thickness<\/strong> of the <strong>border<\/strong> to <strong>markers<\/strong>.<\/p>\n<h4>c. Cmaps<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.random.rand(40)\n\ny=np.random.rand(40)\n\nz=np.random.rand(40)\n\nplt.scatter(x,y,s=z*600,c=x,cmap=\"prism\",linewidths=3)\n\nplt.title(\"TechVidvan Chart 8\")\n\nplt.xlabel(\"X axis\")\n\nplt.ylabel(\"Y axis\")\n\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Cmap.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79547\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Cmap.png\" alt=\"cmap in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>Cmap is a <strong>sequential color distribution<\/strong> already provided under <strong>matplotlib<\/strong> to use for the <strong>coloration of bubbles<\/strong>.<\/p>\n<p>We have to initialize <strong>c<\/strong> first in scatter to use <strong>cmap<\/strong>.<\/p>\n<p>The difference between <strong>colour<\/strong> and <strong>cmap<\/strong> is <strong>Color<\/strong> is just an<strong> rgb palette<\/strong>, whereas cmap is a <strong>predefined<\/strong> color reference, much <strong>easier<\/strong> to use.<\/p>\n<h4>d. Annotate<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">x=np.arange(0,10)\n\nfrom scipy import cos\n\ny=cos(x)\n\nh=\"Cos curve\"\n\nplt.plot(x,y,\"*\")\n\nplt.annotate(xy=[4,0],s=h)\n\nplt.title(\"TechVidvan Cos Graph 9\")\n\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Annotate.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79546\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/Annotate.png\" alt=\"annotate in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>i. <strong>Np.arange()<\/strong> is to arrange the values according to a <strong>given range<\/strong>.<\/p>\n<p>The <strong>stop range<\/strong> is <strong>not included<\/strong> in the <strong>chart<\/strong>.<\/p>\n<p>ii. <strong>Plt.annotate() <\/strong>is to <strong>label<\/strong> the <strong>chart<\/strong> in between the <strong>range of values<\/strong>.<\/p>\n<p><strong>Xy<\/strong> defines the <strong>location<\/strong>, whereas <strong>s<\/strong> is the <strong>label<\/strong> we put.<\/p>\n<h3>3D Charts in Python<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">fig = plt.figure()\n\nax1 = fig.add_subplot(111, projection='3d')\n\nz = np.linspace(0, 15, 1000)\n\nx = np.sin(z)\n\ny = np.cos(z)\n\nax1.plot3D(x, y, z, 'orange')\n\nplt.title(\"TechVidvan 3D Chart 10\")\n\nplt.xlabel(\"X axis\")\n\nplt.ylabel(\"Y axis\")\n\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/3D-graph.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79545\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/3D-graph.png\" alt=\"3d graph in python\" width=\"1920\" height=\"1030\" \/><\/a><\/p>\n<p>a. Plt.figure(): Used to create a <strong>figure space<\/strong>.<\/p>\n<p>b. Add_subplot (p, q, r): Divides the whole figure into a <strong>p*q grid<\/strong> and places the created axes in the position of <strong>r<\/strong>.<\/p>\n<p>c. Np.linspace(u, v, w): Starts the range at <strong>u<\/strong>, stops the range at <strong>v<\/strong> and <strong>w<\/strong> is the number of items to fit in between the range.<\/p>\n<p>d. Plot3D(): Plots the graph in<strong> 3rd dimension<\/strong>.<\/p>\n<h3>Saving your Graphs<\/h3>\n<p><strong>Adding<\/strong> this in the <strong>previous code<\/strong>,<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">plt.savefig(\"3d.png\")\nplt.show()\n<\/pre>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/3d.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79543\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/08\/3d.png\" alt=\"3d graph in python\" width=\"640\" height=\"480\" \/><\/a><\/p>\n<p>To save a plot in <strong>PNG form<\/strong>, <strong>savefig() function<\/strong> is useful in which the <strong>argument<\/strong> we pass is the <strong>type of graph<\/strong> we want to get in the <strong>image format<\/strong> plus the <strong>extension<\/strong> of <strong>.png<\/strong> after it.<\/p>\n<p>Make sure to write this function before the <strong>show () function<\/strong> for the <strong>flow<\/strong> of <strong>execution<\/strong> the program <strong>code<\/strong> follows.<\/p>\n<h3>Conclusion<\/h3>\n<p>Hence, we learned how to make beautiful and creative <strong>bubble charts<\/strong> in Python of different features using <strong>Matplotlib<\/strong> and <strong>NumPy<\/strong> libraries.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python programming provides a helping hand towards Data Visualization. Plotting different kinds of charts in Python has never been easier as it is with the use of NumPy and Matplotlib libraries. Let\u2019s find out!&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":79529,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1053],"tags":[3071,3072,3073,3074],"class_list":["post-79527","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-3d-charts-in-python","tag-bubble-charts-in-python","tag-charts-in-python","tag-styling-charts-in-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Data Visualization with Different Charts in Python - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn about various types of charts in python for data visualization like Bubble chart, 3D chart etc. Learn creating charts in python &amp; styling them\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data Visualization with Different Charts in Python - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn about various types of charts in python for data visualization like Bubble chart, 3D chart etc. Learn creating charts in python &amp; styling them\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-05T13:35:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Python-Charts.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\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":"Data Visualization with Different Charts in Python - TechVidvan","description":"Learn about various types of charts in python for data visualization like Bubble chart, 3D chart etc. Learn creating charts in python & styling them","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:\/\/techvidvan.com\/tutorials\/charts-in-python\/","og_locale":"en_US","og_type":"article","og_title":"Data Visualization with Different Charts in Python - TechVidvan","og_description":"Learn about various types of charts in python for data visualization like Bubble chart, 3D chart etc. Learn creating charts in python & styling them","og_url":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-08-05T13:35:51+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Python-Charts.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Data Visualization with Different Charts in Python","datePublished":"2020-08-05T13:35:51+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/"},"wordCount":675,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Python-Charts.jpg","keywords":["3D Charts In python","Bubble Charts in Python","Charts in Python '","styling charts in python"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/","url":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/","name":"Data Visualization with Different Charts in Python - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Python-Charts.jpg","datePublished":"2020-08-05T13:35:51+00:00","description":"Learn about various types of charts in python for data visualization like Bubble chart, 3D chart etc. Learn creating charts in python & styling them","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/charts-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Python-Charts.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/08\/Python-Charts.jpg","width":1200,"height":628,"caption":"Charts in python"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/charts-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Data Visualization with Different Charts in Python"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/79527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=79527"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/79527\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/79529"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=79527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=79527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=79527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}