---
layout: default
title: Highlight tile
nav_order: 3
parent: Embed data and visualizations in your own website
published: true
permalink: /api/web_components/highlight
include_scripts:
- /assets/js/syntax_highlighting.js
- /assets/js/api-doc-tabs.js
---
# Data Commons highlight chart Web Component
[Data Commons Web Component](/api/web_components) for highlighting a specific
variable value from a specific variable about a single place.
## Usage
```html
```
{: #single-place .api-tabcontent .api-signature}
## Attributes
### Required
| Name | Type | Description |
| -------- | ------ | ---------------------------------------------------- |
| header | string | Text to show next to the variable value highlighted. |
| place | type | Place [DCID](/glossary.html#dcid) to plot. |
| variable | type | Variable [DCID](/glossary.html#dcid) to plot. |
{: .doc-table }
### Optional
| Name | Type | Description |
| ---- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| date | string | Specific date to show data for. ISO 8601 format (e.g. "YYYY", "YYYY-MM", "YYYY-MM-DD").
Note: Ensure your variable has data available at the specified date using the [Stat Var Explorer](https://datacommons.org/tools/statvar){: target="_blank"}
Default: Most recent data available. |
| unit | string | Unit the variable is measured in. |
{: .doc-table }
### Advanced Configuration
| Name | Type | Description |
| ------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| apiRoot | string | Domain to make data fetch API calls from. Used primarily for fetching data from custom DCs.
Default: `https://datacommons.org`. |
{: .doc-table }
## Examples
### Example 1: Show percentage of US population that are internet users
Code:
{: .example-box-title}
```html
```
{: .example-box-content}