<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[thoughtspotdev - Medium]]></title>
        <description><![CDATA[ThoughtSpot for Developers, AI is the new BI - Medium]]></description>
        <link>https://medium.com/thoughtspotdev?source=rss----e93cd5d90105---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>thoughtspotdev - Medium</title>
            <link>https://medium.com/thoughtspotdev?source=rss----e93cd5d90105---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:39:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/thoughtspotdev" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[5 Data preparation strategies for scalable embedded analytics]]></title>
            <link>https://medium.com/thoughtspotdev/5-data-preparation-strategies-for-scalable-embedded-analytics-931d44bb3b24?source=rss----e93cd5d90105---4</link>
            <guid isPermaLink="false">https://medium.com/p/931d44bb3b24</guid>
            <category><![CDATA[embedded-analytics]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[data-analytics-tools]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Neerav Parekh]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 07:40:56 GMT</pubDate>
            <atom:updated>2025-08-14T07:47:12.267Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.thoughtspot.com/data-trends/embedded-analytics">Embedded analytics</a> isn’t just a “nice-to-have” anymore. It’s become a competitive must-have. Whether you’re a SaaS team dropping dashboards straight into your product or a business leader trying to bring insights into daily workflows, the goal is simple: give users the right data, exactly when they need it. But as adoption grows and data piles up, many teams run into a wall. Queries slow down, performance lags, and users get frustrated. The real culprit? Poor <a href="https://www.thoughtspot.com/data-trends/data-integration/data-preparation-tools">data preparation</a>.</p><p>Modern, <a href="https://www.thoughtspot.com/data-trends/articial-intelligence/ai-analytics-tools">AI-driven analytics platforms</a> have redefined what’s possible, but they also raise the bar for backend data engineering. If you want to deliver fast, reliable, and scalable embedded analytics, you need a robust data preparation strategy. Let’s break down what that means, and how to get it right.</p><h3>Why data preparation is the linchpin of scalable embedded analytics</h3><p>At its core, data preparation is about transforming raw, disparate data into a clean, governed, and query-ready state. For embedded analytics, this isn’t just a technical exercise. It’s a business imperative. Here’s why:</p><ul><li><strong>Performance at scale:</strong> As data volumes grow, poorly prepared data leads to slow queries and frustrated users. Efficient data prep ensures analytics stay fast, even as usage scales.</li><li><strong>Self-service enablement:</strong> Business users expect to explore data on their own terms. Clean, well-modeled data is the foundation for true <a href="https://www.thoughtspot.com/data-trends/analytics/self-service-analytics">self-service analytics</a>, especially when powered by natural language search or <a href="https://www.thoughtspot.com/data-trends/ai/ai-analytics">AI-driven insights</a>.</li><li><strong>Embedded context:</strong> When analytics are embedded in operational apps, context matters. Data must be shaped to fit the workflow, not just the dashboard.</li><li><strong>Governance and trust:</strong> Consistent, governed data builds trust, critical when analytics are exposed to customers or partners.</li></ul><p>Data preparation isn’t a single step but a structured pipeline. Each stage plays a critical role in ensuring performance, building trust, and enabling self-service, helping organizations turn raw data into real results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xLt6uwsANw0XTF2P" /></figure><h3>Key data preparation strategies for scalable embedded analytics</h3><h3>1. Embrace a cloud-native, direct query architecture</h3><p>Traditional BI systems often rely on heavy data extracts and pre-aggregated cubes, creating <a href="https://www.thoughtspot.com/data-trends/analytics/data-silos">data silos</a> across teams and tools. While this can work for static dashboards, it quickly breaks down at scale, especially for embedded use cases where data freshness and interactivity are non-negotiable.</p><p><a href="https://www.thoughtspot.com/data-trends/embedded-analytics/embedded-analytics-platform">Modern embedded analytics platforms</a> like ThoughtSpot leverage cloud-native, direct query architectures. This means queries run live against your cloud data warehouse (e.g., Snowflake, BigQuery, Redshift), eliminating data silos and ensuring up-to-date insights. The key is to <a href="https://www.thoughtspot.com/data-trends/data-modeling/data-warehousing-modeling-techniques">optimize your data models and indexes in the warehouse</a> itself, not just in the analytics layer. This approach scales naturally as data grows and supports real-time, interactive experiences for embedded users.</p><h3>2. Modularize data with reusable datasets and semantic Layers</h3><p>As embedded analytics proliferate across products and workflows, data sprawl becomes a real risk. The solution? Modular, reusable datasets and a robust <a href="https://www.thoughtspot.com/blog/introducing-the-agentic-semantic-layer">semantic layer.</a></p><ul><li><strong>Reusable datasets:</strong> Curate tables or views that can be reused across multiple reports and embedded components. This reduces duplication, simplifies maintenance, and ensures consistency.</li><li><strong>Semantic layer:</strong> Define business logic, metrics, and relationships centrally. This empowers business users to explore data confidently, whether via search, AI, or embedded dashboards, without needing to understand raw schemas.</li></ul><p>Here’s how these components fit into the modern data pipeline:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tN88xWn5CeJjZCrz" /></figure><h3>3. Automate data preparation with AI and augmented analytics</h3><p>Manual data preparation doesn’t scale. AI-driven platforms now offer automated data profiling, anomaly detection, and even natural language data modeling. For example, ThoughtSpot’s <a href="https://www.thoughtspot.com/product/analyst-studio">Analyst Studio</a> uses AI to surface insights, recommend joins, and even generate SQL, accelerating the prep process and reducing human error.</p><ul><li><strong>Automated data cleansing:</strong> Use AI to detect outliers, missing values, and inconsistencies.</li><li><strong>Smart recommendations:</strong> Let the platform suggest joins, aggregations, and filters based on usage patterns.</li><li><strong>Natural language modeling:</strong> Enable business users to define new metrics or transformations using everyday language, lowering the barrier to self-service.</li></ul><h3>4. Prioritize data governance and security</h3><p>As you embed analytics deeper into products and workflows, <a href="https://www.thoughtspot.com/data-trends/data-governance">data governance</a> isn’t optional. It’s essential. This includes:</p><ul><li><strong>Data lineage:</strong> Track where data comes from and how it’s transformed, helping users trust the results.</li><li><strong>Access controls:</strong> Ensure embedded analytics respect user roles and permissions, especially in multi-tenant environments.</li><li><strong>Auditability:</strong> Maintain logs of data access and changes for compliance and troubleshooting.</li></ul><h3>5. Design for flexibility and future growth</h3><p>Data preparation isn’t a one-time project. As your business evolves, so will your data sources, schemas, and user needs. Build flexibility into your prep pipelines:</p><ul><li><strong>Parameterization:</strong> Use parameters to make datasets adaptable to different contexts or user segments.</li><li><strong>API-driven integration:</strong> Leverage APIs to automate data ingestion, transformation, and cataloging. This makes it easy to onboard new sources or update models as requirements change.</li><li><strong>Continuous optimization:</strong> Monitor query performance and usage patterns, and iterate on your data models to keep analytics fast and relevant.</li></ul><h3>Overcoming common challenges</h3><ul><li><strong>Data volume and complexity:</strong> Use partitioning, clustering, and incremental loading in your cloud warehouse to keep queries snappy as data grows.</li><li><strong>User adoption:</strong> Invest in <a href="https://www.thoughtspot.com/data-trends/analytics/data-literacy">data literacy</a> programs and intuitive interfaces (like natural language search) to empower business users and drive adoption.</li><li><strong>Governance vs. agility:</strong> Strike a balance by automating governance tasks and providing clear guardrails, so users can explore data without risking chaos.</li></ul><h3>Building a resilient analytics foundation</h3><p>The future of embedded analytics is AI-driven, self-service, and deeply integrated into every business workflow. But none of that is possible without a solid data preparation strategy. By embracing cloud-native architectures, modular datasets, AI-powered automation, and robust governance, you can deliver analytics that scale with your business — regardless of how fast your data grows.</p><p>Future-proof your embedded analytics. See how you can build scalable, AI-powered analytics with ThoughtSpot — <a href="https://www.thoughtspot.com/demo?utm_source=blog&amp;utm_medium=content&amp;utm_term=plg_cta1&amp;utm_content=plg_mediumblog&amp;utm_campaign=blog_5datapreps">start your free demo today</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=931d44bb3b24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thoughtspotdev/5-data-preparation-strategies-for-scalable-embedded-analytics-931d44bb3b24">5 Data preparation strategies for scalable embedded analytics</a> was originally published in <a href="https://medium.com/thoughtspotdev">thoughtspotdev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to avoid double scroll bars when embedding on the Web]]></title>
            <link>https://medium.com/thoughtspotdev/how-to-avoid-double-scroll-bar-while-embedding-470891a8d807?source=rss----e93cd5d90105---4</link>
            <guid isPermaLink="false">https://medium.com/p/470891a8d807</guid>
            <dc:creator><![CDATA[Priyanshu Kumar]]></dc:creator>
            <pubDate>Mon, 24 Mar 2025 16:51:23 GMT</pubDate>
            <atom:updated>2025-03-25T05:27:25.914Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Tp6szsVhwIEyOh9uUIkBw.png" /></figure><h3>The Problem: A Tale of Two Scrollbars</h3><p>When you embed any external content — into your web page using an iframe, you’ll often run into the infamous “iframe sizing conundrum”. <br>Your goal is to have the embedded application occupy the full height within the host application. In other words, you want the embedded content to fit the space perfectly, without any unsightly scrollbars or blank spaces.</p><p>But here’s the rub: if things aren’t set up just right, you might end up with <strong>double scrollbars</strong>. Imagine trying to use two remote controls for one TV — it’s confusing, frustrating, and just a bad user experience!</p><h3>What’s Causing the Double Scrollbars?</h3><p>Double scrollbars occur when both the host application <strong>and</strong> the embedded content are scrollable:</p><ul><li><strong>Scrollable Host Application:</strong> If the height of your host page exceeds the viewport (thanks to extra content like headers, footers, or just long pages), your entire application becomes scrollable.</li><li><strong>Scrollable Embedded Content:</strong> Meanwhile, if the embedded content is larger than the <strong>iframeHeight</strong>, it gets its own scrollbar.</li></ul><p>Now users have to deal with two sets of scrolling — one for the page and one for the iframe.</p><h3>Breaking Down the Technical Metrics</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_MGlmc9CQ4HIE41vTCUmBA.png" /></figure><p>To understand and solve this, let’s look at a few key metrics:</p><p><strong>offsetTopClient:</strong> This is the number of pixels between the top edge of the host app and the top edge of your iframe</p><pre>const offsetTopClient = this.iFrame.offsetTop;</pre><p><strong>scrollTopClient:</strong> This indicates how far the host app is scrolled vertically</p><pre>const offsetTopClient = this.iFrame.offsetTop;</pre><p><strong>viewPortHeight (Host App):</strong> This represents the total height of the viewport.</p><pre>const viewPortHeight = window.innerHeight;</pre><p><strong>iframeHeight:</strong> The dynamic height you need to assign to the ThoughtSpot iframe so that it fits snugly within the available space.</p><h3>Possible Solutions</h3><ol><li><strong><em>Sync host-app scroll-bar with iframe scroll-bar :</em></strong> Ensure seamless scrolling synchronisation between the host app and iframe by matching scroll positions dynamically as the user interacts with either element.</li><li><strong><em>Adaptive iframe height:</em></strong> The core idea is to ensure the iframe height dynamically matches the available space while accounting for your layout’s structure</li></ol><p>We will discuss both of the above solution in context of <a href="https://thoughtspot.com/"><em>ThoughtSpot</em></a><em> </em>a data analytics app which provides visual reporting components that can be embedded inside any app.</p><p>You can learn more about ThoughtSpot APIs for developers <a href="https://developers.thoughtspot.com/docs">here</a>.</p><h3>Sync host-app scroll-bar with iframe scroll-bar</h3><p>Whenever the hostPage is scrolled, an event is triggered via adding a listener to the <strong>scroll event</strong> in the host Application. The payload of the hostEvent ( <strong>HostEvent.EmbedScroll </strong>) would contain the exact offSet in y axis that the iframe has to be scrolled.</p><blockquote>hostEvents in ThoughtSpot are postMessage communications sent from the host application to the embedded ThoughtSpot application</blockquote><h4>Explanation</h4><ul><li>As you scroll, the parent page sends a hostEvent “EmbedScroll” to the iframe.</li><li>iframe’s top margin adjusts based on the parent scroll position.</li><li>Payload (scrollY) tells the iframe how much to scroll within itself.</li></ul><h4><strong><em>Detailed Implementation</em></strong></h4><p>These lines set up the iframe to have a height equal to the browser’s viewport height and adjust the parent document’s height to fit the combined height of pageHeight and pinBoardHeight(liveboard), minus the visible portion of the viewport. This ensures the iframe appears as a fullscreen component within the viewport.</p><pre>this.iFrame.style.height = `${window.innerHeight}px`;<br>document.body.style.height = `${pageHeight + pinBoardHeight - viewPortHeight}px`;</pre><p>This block initialises the scroll event listener, capturing important metrics each time the user scrolls the parent page. offsetTopClient measures the position of the iframe relative to the top of the document, scrollTopClient records the current scroll position, and viewPortHeight &amp; iframeHeight store the viewport height and iframe’s intended height.</p><pre>window.addEventListener(&#39;scroll&#39;, () =&gt; {<br>var offsetTopClient = this.iFrame.offsetTop;<br>var scrollTopClient = window.scrollY;<br>var viewPortHeight = window.innerHeight;<br>var iframeHeight = pinBoardHeight;</pre><p>If the parent page has been scrolled beyond the starting point of the iframe (scrollTopClient — offsetTopClient &gt; 0), this code adjusts the iframe’s top margin to maintain a smooth scrolling experience. The Math.min condition ensures the margin adjustment does not exceed the scrollable height of the iframe (iframeHeight — viewPortHeight), maintaining continuity of the scroll flow.</p><pre>if (scrollTopClient - offsetTopClient &gt; 0) {<br>this.iFrame.style.marginTop = `${Math.min(scrollTopClient - offsetTopClient, iframeHeight - viewPortHeight)}px`;<br>}</pre><p>This block checks if the user has scrolled past the top of the iframe but hasn’t yet reached the end. During this condition, it triggers a HostEvent.EmbedScroll event, passing the scroll position as data (scrollY). This ensures the iframe content scrolls in sync with the parent document’s scroll.</p><pre>if (scrollTopClient - offsetTopClient &gt; 0 &amp;&amp; scrollTopClient - offsetTopClient &lt; iframeHeight - viewPortHeight) {<br>this.trigger(HostEvent.EmbedScroll, { scrollY: scrollTopClient - offsetTopClient });<br>}</pre><p>If the parent page is scrolled above the starting point of the iframe (scrollTopClient — offsetTopClient &lt; 0), the event is triggered with scrollY: 0. This keeps the iframe at the topmost position, fully visible and not scrolled.</p><pre>else if (scrollTopClient - offsetTopClient &lt; 0) {<br>this.trigger(HostEvent.EmbedScroll, { scrollY: 0 });<br>}</pre><p>When the parent page is scrolled beyond the height of the iframe (scrollTopClient — offsetTopClient &gt;= iframeHeight — viewPortHeight), this code sets the iframe’s scroll position to its maximum scrollable point, ensuring it appears fully scrolled and smoothly aligned with the parent document’s scroll flow.</p><pre>else if (scrollTopClient - offsetTopClient &gt;= iframeHeight - viewPortHeight) {<br>this.trigger(HostEvent.EmbedScroll, { scrollY: iframeHeight - viewPortHeight });<br>}</pre><p><strong>Complete sample code :-</strong></p><pre>this.iFrame.style.height = `${window.innerHeight}px`;<br>document.body.style.height = `${pageHeight + pinBoardHeight - viewPortHeight}px`;<br>window.addEventListener(&#39;scroll&#39;,()=&gt;{<br>var offsetTopClient = this.iFrame.offsetTop;<br>var scrollTopClient = window.scrollY;<br>var viewPortHeight = window.innerHeight;<br>var iframeHeight = pinBoardHeight<br>if(scrollTopClient - offsetTopClient &gt; 0) {<br>this.iFrame.style.marginTop = `${Math.min(scrollTopClient - offsetTopClient,iframeHeight - viewPortHeight)}px`;<br>}<br>if(scrollTopClient - offsetTopClient &gt; 0 &amp;&amp; scrollTopClient - offsetTopClient &lt; iframeHeight - viewPortHeight) {<br>this.trigger(HostEvent.EmbedScroll,{scrollY:scrollTopClient-offsetTopClient});<br>}<br>else if(scrollTopClient - offsetTopClient &lt; 0) {<br>this.trigger(HostEvent.EmbedScroll,{scrollY:0});<br>}<br>else if(scrollTopClient - offsetTopClient &gt;= iframeHeight - viewPortHeight) {<br>this.trigger(HostEvent.EmbedScroll,{scrollY:iframeHeight - viewPortHeight})<br>}<br>});</pre><h4>Disadvantages of This Approach</h4><ol><li><strong>Potential for Scrollbars</strong>: If the offset calculation isn’t precise or if the content inside the iframe changes dynamically, you can still end up with scrollbars.</li><li><strong>Performance Overhead</strong>: Continuously recalculating and resetting the height on every window resize event might be costly, especially if the page has multiple embedded elements.</li><li><strong>Cross-Browser Inconsistencies</strong>: Different browsers handle viewport measurements slightly differently (e.g., the difference between document.documentElement.clientHeight vs. window.innerHeight), leading to potential miscalculations.</li><li><strong>Content Overflows</strong>: If the embedded dashboard has its own internal scrolling or expands due to user interactions, the initial fixed calculation might not suffice.</li></ol><blockquote>Since the <strong>fullHeight Solution</strong> has already been implemented, ThoughtSpot doesn’t provide support for <strong>sync scroll-bars solution</strong></blockquote><h3>Full Height Solution</h3><h4><strong>Implementation details :-</strong></h4><ul><li>The iFrame height should be recalculated and updated whenever a navigation event occurs within the embedded application.</li><li>The dynamic resizing mechanism ensures that all embedded content is fully visible within the iFrame without introducing an additional scroll bar, thereby eliminating the double-scroll issue.</li><li>Height adjustments is applied via postMessage communication or appropriate event listeners to detect content changes and trigger height recalculations.</li></ul><h3><strong>Handling modals in FullHeight</strong></h3><p>If unhandled any modal that opens up would render at the centre of the iframe, which could be outside the viewport. So for this we would need to recalculate the centre of the iframe’s viewport.</p><h4>Detailed implementation</h4><p><strong>a. Calculating iframeVisibleViewPort and iframeOffset</strong></p><p>When the iframe is above the viewport, the visible portion is reduced. If the iframe is partially visible or scrolled past, adjustments are made to calculate the portion of the iframe currently visible.</p><p><strong>iframeVisibleViewPort:</strong> height of iframe that is currently in the viewport of the host application.</p><p><strong>iframeOffset:</strong> distance from the top boundary of the iframe to the first visible pixel of the content being displayed inside the iframe that is within the viewport.</p><pre>var offsetTopClient = this.iFrame.offsetTop;<br>var scrollTopClient = window.scrollY;<br>offsetTopClient: The distance of the iframe from the top of the document. scrollTopClient: The current scroll position of the main document.<br>var viewPortHeight = window.innerHeight;<br>var iframeHeight = this.iFrame.innerHeight;<br>var iframeScrolled = scrollTopClient - offsetTopClient;<br>var iframeVisibleViewPort, iframeOffset;<br><br>if(iframeScrolled &lt; 0) {<br>iframeVisibleViewPort = viewPortHeight - (offsetTopClient - scrollTopClient);<br>iframeVisibleViewPort = Math.min(iframeHeight, iframeVisibleViewPort);<br>iframeOffset = 0;<br>} else {<br>iframeVisibleViewPort = Math.min(iframeHeight - iframeScrolled, viewPortHeight);<br>iframeOffset = iframeScrolled;<br>}</pre><p><strong>b. Positioning the Modal</strong></p><p>The modal is centered relative to the <strong>currently visible portion of the iframe</strong>. The calculation ensures the modal is always within the iframe’s boundaries, avoiding rendering issues when partially or fully scrolled out of view.</p><pre>iframeCenter = iframeOffset + iframeVisibleViewPort / 2;<br>var modalHeight = 400;<br>var modalTop;<br>modalTop = Math.max(0, iframeCenter - modalHeight / 2);<br>modalTop = Math.min(iframeHeight - modalHeight / 2, modalTop);</pre><p><strong>Complete sample code :-</strong></p><pre>var offsetTopClient = this.iFrame.offsetTop;<br>var scrollTopClient = window.scrollY;<br>var viewPortHeight = window.innerHeight;<br>var iframeHeight = this.iFrame.innerHeight;<br>var iframeScrolled = scrollTopClient - offsetTopClient;<br>var iframeVisibleViewPort, iframeOffset, iframeCenter;<br>if(iframeScrolled &lt; 0) {<br>iframeVisibleViewPort = viewPortHeight - (offsetTopClient - scrollTopClient) ;<br>iframeVisibleViewPort = Math.min(iframeHeight,iframeVisibleViewPort);<br>iframeOffset = 0;<br>}<br>else {<br>iframeVisibleViewPort = Math.min(iframeHeight - iframeScrolled,viewPortHeight);<br>iframeOffset = iframeScrolled;<br>}<br>iframeCenter = iframeOffset + iframeVisibleViewPort/2;<br>var modalHeight = 400;<br>var modalTop;<br>modalTop = Math.max(0,iframeCenter - modalHeight/2);<br>modalTop = Math.min(iframeHeight - modalHeight/2,modalTop);</pre><h4>Why This Approach Works</h4><ul><li><strong><em>Dynamic Height Adjustment:</em></strong><em> The iframe’s height is continually updated based on content changes via postMessage communication or event listeners, ensuring the entire content is always visible.</em></li><li><strong><em>Improved User Experience:</em></strong><em> Eliminates double-scroll issues by maintaining a single scroll mechanism, improving accessibility and responsiveness.</em></li><li><strong><em>Modal Handling:</em></strong><em> Accurately positions modals even when the iframe content is scrolled, ensuring they appear centered within the visible viewport.</em></li></ul><h4><strong>Lazy loading of visualisations</strong></h4><ul><li>Lazy loading of visualisations improves initial load times and application performance by loading only essential components first (here only the visualisations that are in liveboard page’s viewport), allowing users to interact with the app sooner.</li><li><strong>Trade-offs with Full Height</strong>: Lazy Loading is not currently implemented for the fullHeight property. When fullHeight is enabled, all visualisations on the liveboard load simultaneously, which can lead to performance issues due to multiple warehouse queries being executed at once.</li></ul><h3>How can you use Full Height Solution</h3><p>To use this fullHeight feature, simply pass the fullHeight: true configuration while creating your embed instance.</p><pre>const embed = new LiveboardEmbed(&#39;#embed&#39;, {<br>// other liveboard view config<br>fullHeight: true,<br>});</pre><p>The iframe’s height will automatically adjust to match the content, and modals will be properly centred even when partially scrolled out of view.</p><h3>Statistics on Feature Usage</h3><p>The data for the past 6 months reveals a consistent interest among users, with notable peaks in January and February 2025, where unique user counts reached approximately 18.15K and 18.7K, respectively. This indicates a strong adoption of the feature. Overall, the average unique users per month stands at 16.0K, reflecting a solid engagement level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r62E1WWWMXwPCenySgdMfw.png" /></figure><h3>Useful Links</h3><ul><li><a href="https://www.thoughtspot.com/"><strong>Try ThoughtSpot for Free</strong></a> — Explore ThoughtSpot with a free trial.</li><li><a href="https://github.com/thoughtspot/visual-embed-sdk"><strong>Visual Embed SDK</strong></a> — The official GitHub repository for ThoughtSpot’s Visual Embed SDK.</li><li><a href="https://developers.thoughtspot.com/docs/tsembed"><strong>Developer Documentation</strong></a> — Comprehensive guides and API references for embedding ThoughtSpot.</li><li><a href="https://discord.gg/FAJ96kCJ"><strong>Discord</strong></a> — Join Our Discord Community! Connect with fellow ThoughtSpot developers, share insights, and collaborate on exciting projects</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=470891a8d807" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thoughtspotdev/how-to-avoid-double-scroll-bar-while-embedding-470891a8d807">How to avoid double scroll bars when embedding on the Web</a> was originally published in <a href="https://medium.com/thoughtspotdev">thoughtspotdev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Users should never know it’s embedded]]></title>
            <link>https://medium.com/thoughtspotdev/users-should-never-know-its-embedded-5fb7af29a116?source=rss----e93cd5d90105---4</link>
            <guid isPermaLink="false">https://medium.com/p/5fb7af29a116</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Ashish Shubham]]></dc:creator>
            <pubDate>Wed, 12 Mar 2025 12:12:46 GMT</pubDate>
            <atom:updated>2025-03-25T05:16:17.049Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*pAvk_tkvHMZDXYenysHRBA.png" /></figure><blockquote>“To build or not to build, that is the question”</blockquote><p>Every developer faces this modern-day Hamlet moment at some point. Do you spend weeks or months crafting custom capabilities from scratch, wrestling with systems, scaling, security, databases, and UX challenges — or do you embed an existing, battle-tested solution?</p><p>When done right, embedding is pure magic: it brings powerful functionality like analytics, payments, or interactive media directly into your app without friction or distraction. Your users experience smooth, effortless interactions, completely unaware of the sophisticated technology quietly powering their experience behind the scenes.</p><h4>Embedding: The invisible art</h4><p>Your users (all users?) prefer a cohesive experience. Any third party integration must feel native to maintain trust and usability. When it comes to embedding on the web, who are the inspirations ?</p><p><strong>YouTube (Video Content)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*puFDcdZ0cpnZkmurlvKwBw.png" /></figure><p>The OG web embed. You can take any video and with a few lines of code drop it into your webapp, site or medium article. This is a plain Iframe, with some attributes and it cannot get simpler than that.</p><p>Can your users make out it’s Youtube? <strong>Hell yeah!</strong> but who cares ?</p><p><strong>Google Maps</strong></p><p><strong>TLDR;</strong> Almost no one wants to build maps!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_GaDcXSTgMFDFbV162PHg.png" /></figure><p>Things start to get a bit serious here. Google Maps has a complete programatic API to make them your own. Custom markers, camera angles, events for interactivity etc. Nevertheless they are ubiquitous: Airbnb, Yelp, Uber (used to) and many more integrate Google maps to provide their users the seamless mapping experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*YbtntYcyzoUAnQgxrlntAw.png" /></figure><p>Google Maps, also provides a robust styling framework to skin maps to suite your app’s design language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*wxhWMTsnOF_iu7RcqvB6GQ.png" /></figure><p><strong>Stripe (Payments)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jN1BhHbMUh9uw7rw.png" /></figure><p>You want to build the next biggest SaaS idea, how do you go about that ?</p><ul><li>Write code using <a href="https://cursor.com/"><em>Cursor</em></a> in 3 hours.</li><li>Deploy to scale using <a href="https://vercel.com/"><em>Vercel</em></a>.</li><li>Get millions of users in the next 24 hours.</li></ul><p>What’s missing here … How do you make money ? Well, lets just ask people to subscribe and give us their credit card. Not that easy, enter compliance! <a href="https://stripe.com/"><em>Stripe</em></a><em> </em>provides<em> </em>prebuilt checkout/payment experience for your app. Stripe has SDKs for the most popular platforms, which helps tune the integration to suite your needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*n8n82w_0QlGkYuBdio0YXg.png" /></figure><p>It blends seamlessly into your app’s workflow with customizable design symbols.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QlY_SMBZTvoHGQCC.png" /></figure><p><strong>TLDR;</strong> You do not want to build a payment system (unless you are a stripe or paypal).</p><p><strong>ThoughtSpot (Data &amp; AI Analytics)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DvuhdaG0SbG-aPoj" /></figure><p>Now that you have millions of (paying) users. You want to provide some success metrics, to convince these users to keep subscribed. If your customers are businesses themselves, they might need sophisticated reports on multiple business KPIs.</p><p>Simple, lets connect a charting library to our database. Well, wait.. what about data governance/security ? Interactive reporting with filtering, drill downs, cohort analysis ? Can I leverage AI to present my users optimization opportunities based on their data ?</p><p>Enter <a href="https://www.thoughtspot.com/product/embedded"><em>ThoughtSpot</em></a>, robust AI analytics for your app. Use ThoughtSpot’s React Components to embed the AI agent or interactive dashboards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*pE2dUHmtgWwPvrrTc7_Tig.png" /></figure><p>At ThoughtSpot we have gone to lengths to make our analytics components blend into your app. You can <a href="https://developers.thoughtspot.com/docs/style-customization">customize</a> styles, colors, fonts, strings, icons and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QhAcQh8EII5V1u6vwlbT_g.png" /></figure><pre>// Style customization for ThoughtSpot<br>const styleConfig = {<br>  style: {<br>    customCSSUrl: &quot;https://cdn.jsdelivr.net/gh/acme/&quot;<br>      + &quot;custom-css/css-variables.css&quot;,<br>    <br>    customCSS: {<br>      // ThoughtSpot variables declared inline <br>      // https://developers.thoughtspot.com/docs/css-variables-reference<br>      variables: {<br>        &quot;--ts-var-button--secondary-background&quot;: &quot;#F0EBFF&quot;,<br>        &quot;--ts-var-button--secondary--hover-background&quot;: &quot;#E3D9FC&quot;,<br>        &quot;--ts-var-root-background&quot;: &quot;#F7F5FF&quot;,<br>      },<br>    },<br>  },<br>  <br>  // Override the icon sprite used in ThoughtSpot <br>  // https://developers.thoughtspot.com/docs/customize-icons<br>  iconSpriteUrl: &quot;https://cdn.jsdelivr.net/gh/acme/custom-css&quot; <br>    + &quot;/icon-override1.svg&quot;,<br>  <br>  // Override the default text strings used in ThoughtSpot <br>  // (Reference: https://developers.thoughtspot.com/docs/customize-text)<br>  content: {<br>    strings: {<br>      &quot;Liveboard&quot;: &quot;Dashboard&quot;,<br>      &quot;Edit&quot;: &quot;Modify&quot;,<br>      &quot;Show underlying data&quot;: &quot;Show source data&quot;,<br>      &quot;SpotIQ&quot;: &quot;Insights&quot;,<br>      &quot;Monitor&quot;: &quot;Alerts&quot;,<br>      &quot;Worksheets&quot;: &quot;Data model&quot;<br>    },<br>  },<br>};</pre><p>ThoughtSpot has also built a comprehensive events and actions framework to customize the user experience to fit your workflows.</p><pre>liveboardEmbed.trigger(HostEvent.UpdateRuntimeFilters, [{<br>  columnName: &quot;state&quot;,<br>  operator: RuntimeFilterOp.EQ,<br>  values: [&quot;michigan&quot;]<br>});</pre><p>ThoughtSpot enables Data governance and security seamlessly via <a href="https://developers.thoughtspot.com/docs/abac-user-parameters">JWT based ABAC</a>. It integrates seamlessly with any authentication or authorization scheme with a flexible <a href="https://developers.thoughtspot.com/docs/trusted-auth">SSO token</a> based approach.</p><p><strong>TLDR; </strong>Building good reporting is hard, do not try at office.</p><p>Delivering a seamless user experience isn’t just a luxury — it’s a necessity. By embedding analytics solutions like ThoughtSpot, you empower your application with robust, customizable insights without the burdens of building from scratch. This approach not only accelerates development but also ensures that your users enjoy a cohesive, uninterrupted experience. Just as we’ve come to expect flawless integrations in our daily apps, your users deserve the same invisible excellence. Embrace embedding, and let your application’s user experience shine — effortlessly and imperceptibly.</p><p>Build with <a href="https://thoughtspot.com/trial">ThoughtSpot for free </a>today.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fb7af29a116" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thoughtspotdev/users-should-never-know-its-embedded-5fb7af29a116">Users should never know it’s embedded</a> was originally published in <a href="https://medium.com/thoughtspotdev">thoughtspotdev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>