{"id":147,"date":"2026-03-02T18:04:34","date_gmt":"2026-03-02T13:04:34","guid":{"rendered":"https:\/\/gigz.pk\/python\/?post_type=lesson&#038;p=147"},"modified":"2026-03-17T08:17:16","modified_gmt":"2026-03-17T03:17:16","slug":"basic-dashboard-project","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/","title":{"rendered":"Basic Dashboard Project"},"content":{"rendered":"\n<p>A Basic Dashboard combines multiple visualizations to present key insights in one view.<br>In Data Analytics, dashboards help decision-makers quickly understand performance, trends, and comparisons.<\/p>\n\n\n\n<p>In this project, we will create a simple Sales Dashboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Import Libraries<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">import pandas as pd<br>import matplotlib.pyplot as plt<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Create Sample Dataset<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">data = {<br>    \"Month\": [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\"],<br>    \"Sales\": [10000, 15000, 20000, 18000, 25000, 22000],<br>    \"Expenses\": [7000, 9000, 12000, 11000, 15000, 14000],<br>    \"Profit\": [3000, 6000, 8000, 7000, 10000, 8000]<br>}df = pd.DataFrame(data)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Create Dashboard Layout<\/h2>\n\n\n\n<p>We will use subplots to place multiple charts in one figure.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">plt.figure(figsize=(12, 8))<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">1. Line Chart (Sales Trend)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">plt.subplot(2, 2, 1)<br>plt.plot(df[\"Month\"], df[\"Sales\"], marker=\"o\")<br>plt.title(\"Monthly Sales Trend\")<br>plt.xticks(rotation=45)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. Bar Chart (Profit by Month)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">plt.subplot(2, 2, 2)<br>plt.bar(df[\"Month\"], df[\"Profit\"])<br>plt.title(\"Monthly Profit\")<br>plt.xticks(rotation=45)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3. Pie Chart (Expense Distribution)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">plt.subplot(2, 2, 3)<br>plt.pie(df[\"Expenses\"], labels=df[\"Month\"], autopct=\"%1.1f%%\")<br>plt.title(\"Expense Distribution\")<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. Line Chart (Sales vs Expenses)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">plt.subplot(2, 2, 4)<br>plt.plot(df[\"Month\"], df[\"Sales\"], label=\"Sales\")<br>plt.plot(df[\"Month\"], df[\"Expenses\"], label=\"Expenses\")<br>plt.title(\"Sales vs Expenses\")<br>plt.legend()<br>plt.xticks(rotation=45)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Final Step: Adjust Layout and Show<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">plt.tight_layout()<br>plt.show()<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">What This Dashboard Shows<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Sales growth trend<\/li>\n\n\n\n<li>Monthly profit comparison<\/li>\n\n\n\n<li>Expense distribution<\/li>\n\n\n\n<li>Sales vs expense comparison<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why Dashboard Projects are Important<\/h2>\n\n\n\n<p>Dashboards help:<\/p>\n\n\n\n<p>Track business performance<br>Compare KPIs<br>Identify trends and patterns<br>Support data-driven decisions<br>Present insights in a professional format<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Key Takeaway<\/h2>\n\n\n\n<p>A Basic Dashboard combines multiple charts into one visual report.<br>This is a foundational step toward building professional dashboards using tools like Power BI, Tableau, or advanced Python visualization libraries.<\/p>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1773717540969\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/python\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">PYTHON FOR DATA ANALYTICS (PYDA) > Data Visualization > Basic Dashboard Project<\/span><\/span><\/div>","protected":false},"menu_order":79,"template":"","class_list":["post-147","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Basic Dashboard Project - One Language. Endless Possibilities<\/title>\n<meta name=\"description\" content=\"Learn to create a Python sales dashboard with Matplotlib combining line, bar, and pie charts to visualize KPIs and business insights.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basic Dashboard Project - One Language. Endless Possibilities\" \/>\n<meta property=\"og:description\" content=\"Learn to create a Python sales dashboard with Matplotlib combining line, bar, and pie charts to visualize KPIs and business insights.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/\" \/>\n<meta property=\"og:site_name\" content=\"One Language. Endless Possibilities\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-17T03:17:16+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/basic-dashboard-project\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/basic-dashboard-project\\\/\",\"name\":\"Basic Dashboard Project - One Language. Endless Possibilities\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/#website\"},\"datePublished\":\"2026-03-02T13:04:34+00:00\",\"dateModified\":\"2026-03-17T03:17:16+00:00\",\"description\":\"Learn to create a Python sales dashboard with Matplotlib combining line, bar, and pie charts to visualize KPIs and business insights.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/basic-dashboard-project\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/basic-dashboard-project\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/basic-dashboard-project\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/python\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PYTHON FOR DATA ANALYTICS (PYDA) > Data Visualization > Basic Dashboard Project\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/python\\\/\",\"name\":\"One Language. Endless Possibilities\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/python\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basic Dashboard Project - One Language. Endless Possibilities","description":"Learn to create a Python sales dashboard with Matplotlib combining line, bar, and pie charts to visualize KPIs and business insights.","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:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/","og_locale":"en_US","og_type":"article","og_title":"Basic Dashboard Project - One Language. Endless Possibilities","og_description":"Learn to create a Python sales dashboard with Matplotlib combining line, bar, and pie charts to visualize KPIs and business insights.","og_url":"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/","og_site_name":"One Language. Endless Possibilities","article_modified_time":"2026-03-17T03:17:16+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/","url":"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/","name":"Basic Dashboard Project - One Language. Endless Possibilities","isPartOf":{"@id":"https:\/\/gigz.pk\/python\/#website"},"datePublished":"2026-03-02T13:04:34+00:00","dateModified":"2026-03-17T03:17:16+00:00","description":"Learn to create a Python sales dashboard with Matplotlib combining line, bar, and pie charts to visualize KPIs and business insights.","breadcrumb":{"@id":"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/python\/lesson\/basic-dashboard-project\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/python\/"},{"@type":"ListItem","position":2,"name":"PYTHON FOR DATA ANALYTICS (PYDA) > Data Visualization > Basic Dashboard Project"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/python\/#website","url":"https:\/\/gigz.pk\/python\/","name":"One Language. Endless Possibilities","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/python\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/lesson\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/media?parent=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}