4 min readUpdated Mar 2, 2026

HTMLEmbedTile Documentation

Overview

The HTMLEmbedTile is a versatile component within the Vantage analytics and data platform, designed to render arbitrary HTML content dynamically. This allows users to customize their dashboard experience by embedding HTML elements such as charts, forms, videos, or any other HTML-based interface directly into their tiles. It utilizes an iframe to host the provided HTML content securely, ensuring that the embedded elements render correctly without interfering with the parent document.

Settings

1. htmlContent

Detailed Explanation of Behavior:

2. minW

3. minH

How It Works

Data Expectations

The primary data expected by the HTMLEmbedTile component is the htmlContent string. This content can be created using user input, generated via another system, or sourced from various data streams within the Vantage platform. Users should ensure that the HTML passed is well-formed to prevent rendering issues.

Use Cases & Examples

Use Cases

  1. Embedding Custom Visualizations: Organizations can create custom data visualizations using libraries such as D3.js or Chart.js. By embedding these visualizations in the HTMLEmbedTile, users can display interactive graphs directly on their dashboards, making data-driven decisions easier.

  2. Integrating Third-party Tools: Many businesses utilize external tools for data collection or presentation, such as forms or survey tools. HTMLEmbedTile allows these forms to be integrated seamlessly into the dashboard to gather input or feedback without redirecting users to another page.

  3. Displaying Dynamic Content: A marketing team may want to display real-time promotions or embedded videos on their dashboard. By using the HTMLEmbedTile, they can showcase live updates right where users need them, improving engagement and interaction.

Example Configuration

Use Case: Embedding a D3.js Chart

Suppose a financial service company wants to visualize monthly sales data in their dashboard using a D3.js chart embedded in the HTMLEmbedTile.

Here is how the component might be configured:

json
{
  "config": {
    "htmlContent": "<div id='chart'></div><script src='https://d3js.org/d3.v7.min.js'></script><script>const data = [30, 86, 168, 281, 303, 365]; const width = 500; const height = 300; const svg = d3.select('#chart').append('svg').attr('width', width).attr('height', height); svg.selectAll('rect').data(data).enter().append('rect').attr('width', (d) => d).attr('height', 30).attr('y', (d, i) => i * 35);</script>"
  }
}

In this configuration:

Users should tailor the htmlContent string according to their requirements to fully utilize the capabilities of the HTMLEmbedTile.