oncase / oncase.com.br

Our website repository
1 stars 1 forks source link

Add responsivity to d3js footer charts #7

Open marpontes opened 9 years ago

marpontes commented 9 years ago

They're rendered considering the initial client width;

If the window is resized to smaller sizes - no problem;

But if it's resized to bigger sizes, there's an issue.

We should add a listener to the document width to deal with this. There are tons of ways to do this in d3js