How does kibana generates the visualizations?

How does the kibana generates the bar charts shown in dashboard ?

Does kibana uses SSR (server side rendering) or it uses any third party library like Chart.js or something else ?

In the Lens and TSVB editors we are using the elastic-charts library GitHub - elastic/elastic-charts: Elastic Charts library in the majority of the charts or custom implementations (for example on the metric viz).
In the Visualize editor, it depends on the kibana version. In the most recent versions we are using the elastic charts library and in older implementations d3

1 Like

yeah !

and does the charts are created on frontend by querying data using kql or they are created on demand in backend and then rendered on FE ?

The charts are created on the frontend side. We are getting the data from ES by running the aggregations, filter/search etc and pass them to the charts.

1 Like

thanks !

It will help me alot

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.