O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Responsive Data Visualizations with D3.js

Video Description

Create stunning D3 data visualizations and render them as part of a responsive design

About This Video

  • Harness the power of D3.js to create amazing visualization, from bar charts to choropleth maps

  • Explore numerous plugins and libraries including Bootstrap and Pym to build responsive pages and visualizations

  • Quickly learn the crucial concepts and best practices for responsive web designs

  • In Detail

    As part of the user interface, it is important that data visualizations are context aware and should adjust according to screen size, media type, and other similar aspects. To tackle this, it is essential for web developers to ace at both D3 and responsive design using Bootstrap to make visualizations responsive across different viewing platforms. D3 is currently the go-to data visualization library, offering greater integration with web standards, and better customizability than other data visualization libraries available.

    This video course starts out by describing ways in which D3.js fits into existing web standards to provide data visualization solutions that can be easily integrated. After working through the basic flow of simple visualizations, we’ll start adding features: tooltips, axes, and scales. We’ll take a look at interactivity and transitions. Then we’ll walk through the use of external data sources, including CSV, TSV, JSON, and GeoJSON, which will prepare us for more in-depth visualizations.

    Further on we’ll tackle responsive design, covering all the basic concepts, and then work our way through a site mockup the old fashioned way, looking for breakpoints and using media queries to provide smooth screen size transitions. Our work with responsive design will then be applied to a number of our early data visualizations.

    We’ll resume our focus on responsive design later in the course when we’ll cover using Bootstrap and Pym.js, a JavaScript library that enables the embedding of responsive iFrames. The data visualizations we’ll tackle in the final sections of the course will include mapping with Topo and GeoJSON.

    By the end of this course, you will have an armoury full of tools to create feature-rich data visualizations with D3.js that are responsive on different platforms.