

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tableau Extensions - DKM Ecosystem</title>
	<atom:link href="https://www.dkmeco.com/en/tag/tableau-extensions/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dkmeco.com/en</link>
	<description></description>
	<lastBuildDate>Wed, 03 Sep 2025 08:00:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://www.dkmeco.com/en/wp-content/uploads/2023/11/cropped-logo-32x32.png</url>
	<title>Tableau Extensions - DKM Ecosystem</title>
	<link>https://www.dkmeco.com/en</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Quickly Create Marginal Histograms with Tableau Extensions to Unlock Multi-Dimensional Data Insights</title>
		<link>https://www.dkmeco.com/en/quickly-create-marginal-histograms-with-tableau-extensions-to-unlock-multi-dimensional-data-insights/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quickly-create-marginal-histograms-with-tableau-extensions-to-unlock-multi-dimensional-data-insights</link>
		
		<dc:creator><![CDATA[dkm-admin]]></dc:creator>
		<pubDate>Wed, 03 Sep 2025 07:57:13 +0000</pubDate>
				<category><![CDATA[Tableau]]></category>
		<category><![CDATA[Tableau Extensions]]></category>
		<guid isPermaLink="false">https://www.dkmeco.com/en/?p=11006</guid>

					<description><![CDATA[<p>In daily analysis, you may often encounter this need: how to clearly see the relationship between two variables while also</p>
<p>The post <a href="https://www.dkmeco.com/en/quickly-create-marginal-histograms-with-tableau-extensions-to-unlock-multi-dimensional-data-insights/">Quickly Create Marginal Histograms with Tableau Extensions to Unlock Multi-Dimensional Data Insights</a> first appeared on <a href="https://www.dkmeco.com/en">DKM Ecosystem</a>.</p>]]></description>
										<content:encoded><![CDATA[<section class="main section detail-section">
<div class="detail-content-box">
<div class="content-body">
<div class="rich-text ueview">
<article>In daily analysis, you may often encounter this need: how to clearly see the relationship between two variables while also gaining an at-a-glance understanding of their individual distributions?For example, a sales manager may not only want to know whether “customer activity” is related to “spending amount,” but also intuitively understand the distribution levels of each. Similarly, a regional manager may want to analyze the cross-performance of different product categories across various markets while also discovering the overall distribution trends of core categories or key markets.And this is exactly where the <strong>Marginal Histogram</strong> excels. It allows you to visualize the interaction between variables in a single chart while also quickly grasping the overall distribution of each variable.</p>
<p><strong>Visual structure of a Marginal Histogram</strong></p>
<p>As shown below, a marginal histogram is a composite chart, typically consisting of two parts: a main plot + single-variable distribution plots along the top/bottom/left/right.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/0-1.png" width="625" height="250" /></p>
<p><strong>PART1 👉 Main Plot (Core Area)</strong></p>
<p>Its purpose is to display the relationship or distribution between two variables (such as correlation, cross-performance, clustering, outliers, etc.). Common chart types used in the main plot include:</p>
<ul class=" list-paddingleft-2">
<li>Scatter plot: for two continuous numeric variables (e.g., Sales × Discount, Age × Income)</li>
<li>Highlight table/heat map: for two categorical variables (e.g., Region × Category, Department × Grade)</li>
<li>Heat map: also usable for bivariate density distributions</li>
</ul>
<p><strong>PART2 👉 Marginal Histograms (Edge Areas)</strong></p>
<p>These display the univariate distribution characteristics of each variable (e.g., high/low distribution, outliers, dominant intervals).</p>
<ul class=" list-paddingleft-2">
<li>From a layout perspective, top or bottom marginal histograms correspond to the X-axis variable, while right or left marginal histograms correspond to the Y-axis variable.</li>
<li>From a color perspective, scatter/dots/cells in the main plot are color-coded to distinguish different value ranges, positive vs. negative, or business categories, and marginal histograms can use the same colors to highlight extremes, frequent values, or outliers.</li>
</ul>
<p>When placed on a dashboard with interactive filtering, both the main plot and marginal histograms can update together based on business fields (e.g., region, customer group, time period).</p>
<p><strong>Traditional methods VS Extensions</strong></p>
<p>Taking Tableau as an example: while users can manually build separate scatter plots and bar charts, then simulate a “main + distribution” layout by combining them in a dashboard, the process is often tedious—requiring repeated axis adjustments, alignment formatting, linked filtering, and binning. This is inefficient and prone to error.</p>
<p>Moreover, if you want categorical or measure-based marginal histograms, the steps get even more complex:</p>
<ul class=" list-paddingleft-2">
<li>You need to manually create bins, auxiliary axes, dual-axis synchronizations, with no guaranteed interaction.</li>
<li>It gets harder to configure across multiple dimensions (e.g., Region × Category × Segment).</li>
<li>Business users can’t easily reuse the setup, leaving analysts burdened with heavy maintenance.</li>
</ul>
<p>The good news is: Tableau Exchange now offers this visualization as a Viz Extension. So you no longer need to manually configure axes or bins—you can quickly build such complex charts. <img decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/0-3.png" width="682" height="365" /></p>
<p>In short, just add the <a href="https://exchange.tableau.com/zh-CN/products/1071" target="_blank" rel="noopener">MarginalHistogram</a> visualization extension in Tableau’s “Marks” card, choose the main and marginal variables, and it will automatically generate:</p>
<p><strong>01 Categorical Marginal Histogram</strong></p>
<p>Categorical marginal histograms are useful for analyzing multi-dimensional discrete data (e.g., region, sub-category, customer segment) and visually comparing distributions and aggregations across dimensions.</p>
<p>For discrete dimensions like “Region × Product Subcategory × Customer Segment,” the Marginal Histogram extension will automatically recognize and generate categorical marginal histograms. As shown above, through positive/negative blocks and top marginal bars, you can intuitively compare profitability across different segments in regions and categories:</p>
<ul class=" list-paddingleft-2">
<li>Identify profitable/unprofitable categories and key markets at a glance</li>
<li>Help sales/management teams focus on weak spots and optimize channel/product strategies</li>
<li>Compare performance across Segments for differentiated operations</li>
</ul>
<p><img decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/1-1-分类型.gif" width="607" height="342" /></p>
<p><strong>02 Numerical Marginal Histogram</strong></p>
<p>Numerical marginal histograms combine scatter plots with histograms to reveal joint and individual distributions of continuous variables (e.g., Sales, Profit, Discount).</p>
<p>For continuous data like “Sales × Average Discount,” numerical marginal histograms plus scatter plots let you analyze customer structure, outliers, and overall business characteristics in one view:</p>
<ul class=" list-paddingleft-2">
<li>Quickly identify high-sales/high-discount risk or key customers</li>
<li>Marginal histograms show that most customers cluster at low ranges, helping identify long-tail vs. core customer groups</li>
<li>Use filters to flexibly explore distributions across regions or segments, enhancing refined operations</li>
</ul>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/1-2-数值型.gif" width="714" height="534" /></p>
<p><strong>Example Demo: Superstore Profit Analysis</strong></p>
<p>Next, we’ll use Tableau’s built-in Superstore dataset to demonstrate how to quickly create marginal histograms and use them for interactive analysis on a dashboard.</p>
<p>In the profit performance dashboard below, combining marginal histograms with maps and time-series line charts provides a holistic view of profit distribution across dimensions, helping discover profit structures, identify high/low performing regions, and monitor fluctuations for business optimization and strategy.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-7.png" width="605" height="335" /></p>
<p>Specific steps:</p>
<p><strong>01 Create a Categorical Marginal Histogram</strong></p>
<p>In Tableau Desktop, connect to the Superstore dataset and create a new worksheet.</p>
<p>Then, in the “Marks” card, expand the mark type dropdown, click “Add Extension,” search for MarginalHistogram, and install it.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-1.png" width="686" height="433" /></p>
<p>Next, create a numerical marginal histogram. In the “Data” pane, drag fields into the “Marks” card:</p>
<ul class=" list-paddingleft-2">
<li>Drag dimension “Segment” to the X-axis to show three customer segments.</li>
<li>Drag date field “Order Date” to the Y-axis and change it to discrete weekdays, so the Y-axis shows days of the week instead of years.</li>
<li>Drag measure “Profit” to Measure to calculate and color the profitability of each cell.</li>
</ul>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-3.png" width="619" height="349" /></p>
<p>Now the categorical marginal histogram is ready. You can see:</p>
<ul class=" list-paddingleft-2">
<li>Each cell in the main plot reflects profit performance of the three segments across weekdays, with darker colors and higher values indicating higher profit.</li>
<li>The top marginal histogram shows total profit by customer segment, enabling instant comparison of overall contributions.</li>
<li>The right marginal histogram summarizes total profit by weekday, helping detect business peaks and troughs.</li>
<li>The top-right KPI highlights total profit and percentage, emphasizing overall performance.</li>
</ul>
<p>If you need to configure the visualization, click the format button in the “Marks” card. The MarginalHistogram extension supports the following settings:</p>
<p><strong>👉 Field &amp; Logic Settings (Calcs)</strong></p>
<p>X/Y axis selection: categorical variables for dimensions, numerical for measures.</p>
<p>Measure/custom measures: directly define new measures with expressions in Calcs and add them to the view.</p>
<p>Supports point-and-click field selection and basic calculations for easy custom KPIs.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-9-1.png" width="574" height="510" /></p>
<p><strong>👉 Number Formatting &amp; Units (Numbers)</strong></p>
<p>Supports unit abbreviations (K, M), decimal places, currency symbols ($, ¥), and different formats (numeric/percentage) for each measure.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-9-2.png" width="531" height="377" /></p>
<p><strong>👉 Visual Formatting &amp; Layout (Formats)</strong></p>
<p>Control visibility of axes, gridlines, zero lines, axis titles for readability.</p>
<p>Adjust marginal histogram height, main plot spacing, facet spacing, and padding to fit report styles.</p>
<p>Flexibly set the number of facets per page for multi-dimensional comparisons.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-9-3.png" width="521" height="741" /></p>
<p><strong>👉 Color Logic (Color)</strong></p>
<p>Configure colors for positive (profit) and negative (loss) values (e.g., blue/pink) for instant distinction.</p>
<p>Supports unified background, axis, and point colors, or custom brand colors.</p>
<p>Heatmap and scatterplot styles can be switched anytime.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-9-4.png" width="575" height="729" /></p>
<p>👉 <strong>Scatter/Binning Settings (Scatter)</strong></p>
<p>Set the number of bins for marginal histograms to analyze distributions at different granularities.</p>
<p>Control whether scatterplot labels (e.g., large customer names) are displayed and whether they can overlap.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-9-5.png" width="582" height="491" /></p>
<p><strong>02 Create a Profit Ratio Map</strong></p>
<p>Create a new worksheet, double-click the “State/Province” field in the Data pane, and Tableau will auto-generate a symbol map.</p>
<p>Create a calculated field named “Profit Ratio” with the expression SUM([Profit])/SUM([Sales]) and drag it to the “Marks” card color shelf.</p>
<p>If needed, adjust legend colors and map background to remove unnecessary elements for a cleaner look.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-4.png" width="599" height="348" /></p>
<p><strong>03 Create a Category Profit Line Chart by Quarter</strong></p>
<p>Create a new worksheet, drag Order Date to Columns, Profit to Rows, and Category to the “Marks” color shelf. Right-click the Order Date pill and convert it to continuous Quarters.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="http://dkm-website.oss-cn-shenzhen.aliyuncs.com/upload/0/dataBlog/最佳实践分享/TableauExtensions/2025.8.28-边际直方图/2-5.png" width="631" height="347" /></p>
<p><strong>04 Build a Dashboard and Set Interactivity</strong></p>
<p>Create a new dashboard, drag the three worksheets into the canvas, and adjust the layout. Then, for each worksheet, click the funnel icon in the toolbar to set it as a filter.</p>
<p>This way, clicking any mark in the views applies global filtering across the dashboard, allowing deeper exploration of Superstore profit performance across dimensions.</p>
<p><img /></p>
</article>
</div>
</div>
</div>
</section><p>The post <a href="https://www.dkmeco.com/en/quickly-create-marginal-histograms-with-tableau-extensions-to-unlock-multi-dimensional-data-insights/">Quickly Create Marginal Histograms with Tableau Extensions to Unlock Multi-Dimensional Data Insights</a> first appeared on <a href="https://www.dkmeco.com/en">DKM Ecosystem</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
