Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

458 B
Raw Blame
import {
  InteractiveDashboard,
  InteractiveQuestion,
} from "@metabase/embedding-sdk-react";

const Example = () => (
  // [<snippet example-1>]
  <InteractiveDashboard
    dashboardId={95}
    renderDrillThroughQuestion={QuestionView}
  />
  // [<endsnippet example-1>]
);

// [<snippet example-2>]
// You can use namespaced components to build the question's layout.
const QuestionView = () => <InteractiveQuestion.Title />;
// [<endsnippet example-2>]