I have to build d3 visualisations that work well both on tablets, Desktop displays, and in some cases very very large 4k+ high resolution cinema size displays.
So I\'m tr
I'd recommend using the following logic:
Then you need to use javascript to adapt your visualization based on the screen size. This blog article which is serious about visualizations' responsiveness.
Oh, and don't forget to debounce your resize event listener.