{"id":76294,"date":"2024-08-25T16:35:50","date_gmt":"2024-08-25T20:35:50","guid":{"rendered":"https:\/\/bangla.sitestree.com\/?p=76294"},"modified":"2024-08-25T16:35:57","modified_gmt":"2024-08-25T20:35:57","slug":"misc-plots-for-data-science-projects","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76294","title":{"rendered":"Misc. Plots for Data Science Projects"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-27.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"468\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-27.png?resize=624%2C468&#038;ssl=1\" alt=\"\" class=\"wp-image-76295\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-27.png?w=624 624w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-27.png?resize=300%2C225 300w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-27.png?resize=600%2C450 600w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-27.png?resize=200%2C150 200w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/a><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.researchgate.net\/figure\/Doubledecker-plot-for-the-OvaryCancer-data-showing-the-conditional-distribution-of-X-ray_fig13_5142958\">https:\/\/www.researchgate.net\/figure\/Doubledecker-plot-for-the-OvaryCancer-data-showing-the-conditional-distribution-of-X-ray_fig13_5142958<\/a><\/p>\n\n\n\n<p><strong>Titanic Dataset: Double Decker Plot<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-28.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"271\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-28.png?resize=524%2C271&#038;ssl=1\" alt=\"\" class=\"wp-image-76296\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-28.png?w=524 524w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-28.png?resize=300%2C155 300w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/a><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.researchgate.net\/figure\/Titanic-data-Class-Gender-Age-and-Survival-a-joint-independence-b-main-effects_fig3_2508823\">https:\/\/www.researchgate.net\/figure\/Titanic-data-Class-Gender-Age-and-Survival-a-joint-independence-b-main-effects_fig3_2508823<\/a><\/p>\n\n\n\n<p>Berkeley Admission Data:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-29.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"304\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-29.png?resize=476%2C304&#038;ssl=1\" alt=\"\" class=\"wp-image-76297\" style=\"width:800px;height:auto\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-29.png?w=476 476w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-29.png?resize=300%2C192 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/a><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.thoughtco.com\/uc-berkeley-admissions-787148\">https:\/\/www.thoughtco.com\/uc-berkeley-admissions-787148<\/a><\/p>\n\n\n\n<p>Geyser Data: With Contours<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-30.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"416\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-30.png?resize=449%2C416&#038;ssl=1\" alt=\"\" class=\"wp-image-76298\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-30.png?w=449 449w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image-30.png?resize=300%2C278 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-r-bloggers wp-block-embed-r-bloggers\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.r-bloggers.com\/2016\/10\/assessing-clustering-tendency-a-vital-issue-unsupervised-machine-learning\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.researchgate.net\/figure\/Doubledecker-plot-for-the-OvaryCancer-data-showing-the-conditional-distribution-of-X-ray_fig13_5142958 Titanic Dataset: Double Decker Plot https:\/\/www.researchgate.net\/figure\/Titanic-data-Class-Gender-Age-and-Survival-a-joint-independence-b-main-effects_fig3_2508823 Berkeley Admission Data: https:\/\/www.thoughtco.com\/uc-berkeley-admissions-787148 Geyser Data: With Contours<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[182],"tags":[],"class_list":["post-76294","post","type-post","status-publish","format-standard","hentry","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":76580,"url":"http:\/\/bangla.sitestree.com\/?p=76580","url_meta":{"origin":76294,"position":0},"title":"3D Scatter Plot in Python","author":"Sayed","date":"January 12, 2025","format":false,"excerpt":"Visualizing 3-D numeric data with Scatter Plots length, breadth and depth Ref: https:\/\/towardsdatascience.com\/the-art-of-effective-visualization-of-multi-dimensional-data-6c7202990c57 import pandas as pdimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Axes3Dimport matplotlib as mplimport numpy as npimport seaborn as sns%matplotlib inline fig = plt.figure(figsize=(8, 6))ax = fig.add_subplot(111, projection='3d') xs = wines['residual sugar']ys = wines['fixed acidity']zs = wines['alcohol']ax.scatter(xs, ys,\u2026","rel":"","context":"In &quot;Data Visualization&quot;","block_context":{"text":"Data Visualization","link":"http:\/\/bangla.sitestree.com\/?cat=1903"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/01\/image-17.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/01\/image-17.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/01\/image-17.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/01\/image-17.png?resize=700%2C400 2x"},"classes":[]},{"id":76606,"url":"http:\/\/bangla.sitestree.com\/?p=76606","url_meta":{"origin":76294,"position":1},"title":"Python: MatPlotLib: Plot Data","author":"Sayed","date":"February 6, 2025","format":false,"excerpt":"import pandas as pd import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D columns = [\"J_ID\", \"P_ID\", \"D_ID\", \"Year\", \"JOB_TITLE\", \"Department_Name\", \"Total Salary\", \"Commission\"] df = pd.read_csv(\"datamart.csv\", usecols=columns) # Create a 3D plot fig = plt.figure(figsize=(20, 15)) ax = fig.add_subplot(111, projection='3d') # Scatter plot ax.scatter(df['Year'], df['J_ID'], df['D_ID'], c=df['Total Salary'], cmap='viridis', marker='X')\u2026","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/02\/image-1.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/02\/image-1.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/02\/image-1.png?resize=525%2C300 1.5x"},"classes":[]},{"id":16877,"url":"http:\/\/bangla.sitestree.com\/?p=16877","url_meta":{"origin":76294,"position":2},"title":"Misc. Plot &#8211; 4","author":"Sayed","date":"February 11, 2020","format":false,"excerpt":"Ref: https:\/\/www.wolframalpha.com\/","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2020\/02\/Screen-Shot-2020-02-11-at-8.44.59-PM-1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":16176,"url":"http:\/\/bangla.sitestree.com\/?p=16176","url_meta":{"origin":76294,"position":3},"title":"Visualization of Multivariate Charts","author":"Sayed","date":"September 12, 2019","format":false,"excerpt":"Dataset Types Tables, Networks, Spatial https:\/\/www.cs.ubc.ca\/~tmm\/talks\/minicourse14\/vad16nasa.pdf Attribute Types Categorical, Ordered, Quantitative Multivariate Charts Scatter Plot, Heat Map, Bubble Chart, Parallel Coordinates, Radar Plot Scatter Plot https:\/\/en.wikipedia.org\/wiki\/Scatter_plot Scatter Plot : Details: Patterns https:\/\/mste.illinois.edu\/courses\/ci330ms\/youtsey\/scatterinfo.html Scatter Plot and Trend Line https:\/\/www.mathsisfun.com\/data\/scatter-xy-plots.html Scatterplot Details https:\/\/www150.statcan.gc.ca\/n1\/edu\/power-pouvoir\/ch9\/scatter-nuages\/5214827-eng.htm GRAPHICS: COMBINING TWOWAY SCATTERPLOTS | STATA LEARNING MODULES https:\/\/stats.idre.ucla.edu\/stata\/modules\/graph8\/twoway-scatter-combine\/\u2026","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16057,"url":"http:\/\/bangla.sitestree.com\/?p=16057","url_meta":{"origin":76294,"position":4},"title":"Data Visualization: BASIC CHARTS : Resources:","author":"Sayed","date":"September 5, 2019","format":false,"excerpt":"BASIC CHARTS Types: Datasets and Data http:\/\/www.cs.ubc.ca\/~tmm\/talks\/minicourse14\/vad16nasa.pdf Common Charts Histogram: https:\/\/en.wikipedia.org\/wiki\/Histogram Histogram Examples: https:\/\/statistics.laerd.com\/statisticalguides\/understanding-histograms.php The problem with Sturges\u2019 rule for constructing histograms https:\/\/robjhyndman.com\/papers\/sturges.pdf Bad examples for Histogram: https:\/\/www2.southeastern.edu\/Academics\/Faculty\/dgurney\/Math241\/StatTopics\/HistGen.htm Histogram (Non-Uniform Widths) https:\/\/www.onlinemathlearning.com\/histogram-width.html What Is a Frequency Polygon Used For? https:\/\/www.reference.com\/math\/frequency-polygon-used-54f72d4d24e0666c Histograms and histographs https:\/\/www150.statcan.gc.ca\/n1\/edu\/power-pouvoir\/ch9\/histo\/5214822-eng.htm Frequency Polygon http:\/\/www.matematikaria.com\/kamus\/frequency-polygon.html --- Bar Chart\u2026","rel":"","context":"In &quot;Data Visualization&quot;","block_context":{"text":"Data Visualization","link":"http:\/\/bangla.sitestree.com\/?cat=1903"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19912,"url":"http:\/\/bangla.sitestree.com\/?p=19912","url_meta":{"origin":76294,"position":5},"title":"This file will contain visualization code for 6 health performance aspects","author":"Sayed","date":"February 7, 2021","format":false,"excerpt":"Justetc Social Services (non-profit)Jan 31\u00a0\u00b7\u00a029\u00a0min read Indicator visualizations will be in a separate ipynb file (visualize-indicators-final.ipynb) Visualizations can be created using the UI interface i.e. Select options and execute the code block after to get the visualizations. I have placed a separate section at the end of this file where\u2026","rel":"","context":"In &quot;Data Visualization&quot;","block_context":{"text":"Data Visualization","link":"http:\/\/bangla.sitestree.com\/?cat=1903"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76294"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76294\/revisions"}],"predecessor-version":[{"id":76299,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76294\/revisions\/76299"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76294"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}