If you query stackoverflow.com
on Similarweb by visiting the following url:
http://www.similarweb.com/website/stackoverflow.com
you are presented with a nice overview of stats on the website. I believe I understand how they make this overview leveraging libraries such as Highcharts.
What I can't figure out is how they manage to generate a beautiful pdf report (you can request a PDF report on the top right but it requires providing an email address (no affiliation!)) with the same overview, roughly the same proportions and with carefully placed page breaks.
My question then is how do you render a dashboard like this, including SVG and Highcharts, so cleanly with careful page breaks, in PDF? I've read about PhantomJS, would that be a good solution to achieve this result?