Lot of back end code is shared between tableau desktop & server just to generate images. The Desktop draw images on the screen while the Tableau Server draws into off-screen image buffers and then it sends the data as a series of JPEG tiles to the browser.
These shared code is customized in C++ by the developers from the Tableau Software.
For free visualization you can check out the free gallery from tableau public.