That's exactly the stack I use as well: C++, OpenGL and Dear Imgui compiled via Emscripten. You can take a look at Hexmap [0] which is built this way.
All in all the performance is great for highly interactive stuff that does some fair amount of client side data processing.