What’s the Best Way to Build Dashboards with Rust?

Hello

I am working on a project in Rust & would love to display data in a dashboard-like interface something interactive / at least updated periodically. :innocent:But Rust does not have obvious “dashboard-first” frameworks like some other languages; so I am trying to figure out what tools / libraries people are actually using. :thinking:

I know there are some options like plotters for static graphs, plotly for interactive plotting & even tui-rs (or its actively maintained fork ratatui) for terminal dashboards. :slightly_smiling_face:

However; I am not sure which approach works best for real-time updates, web integration / simply making things look neat & functional. :upside_down_face: I checked Introduction - Rust and WebAssembly guide related to this and found it quite informative.

Also; while digging into visualization tools, I stumbled on what Is Power BI Dashboard and it got me thinking what if there were similarly powerful, user-friendly dashboards built entirely in Rust or accessible via Rust libraries? :thinking:

I would love to hear how others have tackled dashboard needs in Rust projects whether it’s for CLI, web, desktop / WoA contexts. :thinking:

Thank you !! :slightly_smiling_face:

If you develop your UI as a web application (or a native one using a technology like Tauri, which uses WebKit for rendering), you'll have access to the vast ecosystem of data visualisation libraries that JS offers.

Yeah I would default to this being a webpage, possibly being served from your application with something like poem (random pick from a search, but it has an embed feature which looks handy).

If you do want native rust UI, iced is probably your current best bet, it has started building a pretty good ecosystem, eg plotters_iced looks like a decent integration.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.