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 Interactive Data Visualizations with D3.js

Video Description

Create engaging data-driven and interactive visualizations to display complex data using D3.js

About This Video

  • Produce beautiful and impactful data visualizations for the Web

  • Create highly interactive scatterplots and geo graphic maps

  • Use data to tell a story with custom and novel methods of visualization

  • Incorporate interactivity to enable users to dynamically change visualizations

  • In Detail

    D3.js is a JavaScript library that enables data to drive interactive graphical forms and makes complex data analysis easier. Nowadays, big data, data deluge, and analytics are all trending buzzwords, so how does D3.js make sense of all this data? Simply by using visualizations and defining rules for dynamic graphics engines, which allows users to gain rich insights from large and complex datasets.

    Building Interactive Data Visualization with D3.js showcases the D3 JavaScript library built specifically for the use of driving visual elements with data. This video course will walk you through the basics of the library by showing its core components and methodologies. By following along with the examples in this video you’ll become proficient at creating dynamic visualizations driven by user interactivity.

    This course starts with the very basics of frontend web development showing the challenges of incorporating dynamic graphics without using D3. Users learn to combine data with visual elements on the page to create informative visualizations. By the end of this section, viewers will be comfortable with using the D3 library to create their own custom concept of data-driven visualizations.

    We’ll see how to use real datasets via APIs to create custom visualizations. By leveraging the interactive nature of web programming we’ll look at how to incorporate user input to add interactivity to our visualization. We’ll start with basic scatter plots and slowly build upon this foundation to create more complicated forms of dynamic data visualizations. Eventually we’ll end the video course by walking through the process of creating a completely novel form of visualization merging concepts of both a scatter plot and a geographic map.

    Building Interactive Data Visualization with D3.js provides one with the foundation to continue on their journey of creating novel and highly impactful data visualizations.

    Table of Contents

    1. Chapter 1 : Getting Started
      1. The Course Overview 00:03:18
      2. Downloading D3.js and Getting the Server Running 00:04:57
      3. Console to the Rescue 00:06:56
      4. Raw JavaScript Versus D3.js 00:07:01
    2. Chapter 2 : Binding Data to HTML Elements
      1. Planning Our Page 00:05:57
      2. Entering Our Data 00:06:02
      3. Dynamic Color Range 00:05:10
    3. Chapter 3 : Using SVG
      1. SVG and Other Image Formats 00:06:34
      2. Advanced SVG 00:06:59
      3. Using D3.js to Render SVG 00:05:29
    4. Chpater 4 : Entering, Updating, and Exiting with Data and SVG Shapes
      1. Adding Shapes Dynamically Based on Data 00:06:54
      2. Making Our Bar Chart Dynamic 00:03:04
      3. Updating Our Bar Chart with New Data 00:04:26
      4. Styling Our Bar Chart and Adding New Data 00:03:41
    5. Chapter 5 : Building Our First Visualization – A Scatter-plot
      1. Retrieving Data 00:08:05
      2. Plotting Data 00:06:25
      3. Creating Axes 00:07:53
    6. Chapter 6 : Adding Interactivity
      1. Registering Events on Elements 00:04:13
      2. Creating a Mouse-over Tooltip 00:07:20
      3. Updating Data with a Form (Part 1) 00:05:33
      4. Updating Data with a Form (Part 2) 00:08:37
    7. Chapter 7 : Adding Transitions
      1. Introduction to Transitions 00:08:58
      2. Adding Transitions to Our Scatter-plot 00:04:46
      3. Advanced Scatter-plot Transitions 00:05:14
    8. Chapter 8 : Building a GeoMap
      1. Getting GeoJSON from Natural Earth 00:06:22
      2. Creating a Choropleth with Data Values 00:08:03
      3. Focusing on Reusability – Integrating User Input 00:10:08
      4. Finishing Touches – Zooming, Tooltip, and Legend 00:09:26
    9. Chapter 9 : Putting It All Together - Geo-scatter
      1. Refactoring and Planning 00:10:13
      2. Drawing Country Shapes as Points 00:07:20
      3. Geo-scatter Finishing Touches 00:09:09