Hi Guarev,
here are some examples of the generic insightView component that uses identifier to identify insights. You can see source code examples for BarChart, ColumnChart, InsightView and more.
examples
and here is documentation for more details about
InsightView.