Building Responsive Data Visualizations with D3.js: Drawing Maps According Scrn Size | packtpub.com

946 views · Published 12 June 2015 · 4:59 · Indexed 4 November 2026

Channel: Packt · 2015 · Science & Technology

Watch on YouTube

Part of 'Building Responsive Data Visualizations with D3.js' video series. For full Course visit:
http://bit.ly/1KZ41KW

We need our map to redraw itself for usability on multiple screen sizes. Before we see what other frameworks can do, let’s do it in the old fashioned way—with media queries. 
• Integrate a margin variable to make responsive 
• Insert an event handler that triggers a resize function 
• Add a loading GIF to alert users that their graphic is being processed 


For the latest web development video tutorials, please visit
http://bit.ly/1KYwKQ5

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel