{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Products","product_name":"Treasure Insights","type":"markdown"},"seo":{"title":"Creating a Dashboard Widget","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"creating-a-dashboard-widget","__idx":0},"children":["Creating a Dashboard Widget"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A widget is a dynamic visualization of data. When you create a widget, you select the type of data to display and the type of visualization (chart type)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We recommend starting out with a simple widget and then fine-tuning it through the application of different ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/treasure-insights/dashboard-widget-types-reference"},"children":["widget types"]}," for Treasure Insights."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We’re going to use a simple example to create a new widget. Let’s assume we want to understand the country distribution by gender."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open a dashboard."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Select Data"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the country and then select gender."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add a title: “Country Distribution”."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click Create."]}]}]},"headings":[{"value":"Creating a Dashboard Widget","id":"creating-a-dashboard-widget","depth":1}],"frontmatter":{"seo":{"title":"Creating a Dashboard Widget"}},"lastModified":"2025-11-22T02:43:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/treasure-insights/creating-a-dashboard-widget","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}