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

Learning D3.JS 5.0

Video Description

Learn to use D3.js 5.0 for visualizing data models

About This Video

  • Understand the uses and benefits of data visualization
  • Create stunning visualizations with D3.js
  • Learn by coding several examples and using the best practices

In Detail

D3 (or D3.js) is a JavaScript library for visualizing data using web standards. It helps you bring data to life using SVG, Canvas, and HTML by combining powerful visualization and interaction techniques.

In this course, you’ll learn about SVG, see how D3.js offers a comprehensive set of visualization tools for your data analysis goals, and how to use these tools. You’ll load data internally or externally while creating stunning data visualizations using D3 and SVG. You’ll build line graphs, scatter plots, area charts, interactive tree diagrams, and customize your own map. You’ll also understand and use methods, functions, layouts, and selections to manipulate the DOM using D3. Finally, you’ll understand the enter and exist modes, the click and update functions, projections, and the Geojson format in D3 V5.

By the end of this course, you’ll have learned some exciting tips, best practices, and techniques for your data representation and data analysis and will be able to build your own data models with D3.js much faster and with ease.

The code bundle for this course is available at https://github.com/PacktPublishing/Learning-D3.JS-5.0

Table of Contents

  1. Chapter 1 : Setting Up to Success
    1. The Course Overview 00:04:00
    2. What Is Data Visualization? 00:04:39
    3. What Is D3.js? 00:02:57
    4. Picking a Text Editor 00:04:17
    5. Setting Up a Local Server 00:07:13
  2. Chapter 2 : Understanding SVGs
    1. What Is an SVG? 00:03:14
    2. Creating Your First SVG 00:02:21
    3. Creating Rectangles 00:03:51
    4. Creating Circles and Ellipses 00:02:57
    5. Creating Lines 00:02:07
  3. Chapter 3 : Advanced Concepts in SVG
    1. Creating Polygons and Polylines 00:02:42
    2. Creating Paths 00:04:18
    3. Creating Texts 00:03:06
    4. Creating Text Paths 00:03:23
    5. Creating Clip Paths 00:03:21
  4. Chapter 4 : Selecting Elements in D3.js V5
    1. The Setup 00:03:11
    2. What Is Data? 00:01:38
    3. The select() Method 00:02:55
    4. The append() Method 00:02:28
    5. Modifying Elements 00:03:44
    6. The classed() and style() Methods 00:03:50
  5. Chapter 5 : Joining Data in D3.js V5
    1. The data() and enter() Methods 00:05:00
    2. Function in Methods 00:03:19
    3. Loading Data from External Sources – CSV 00:06:02
    4. Loading Data from External Sources – JSON 00:02:58
  6. Chapter 6 : Creating a Bar Graph
    1. Get Started with Bars 00:05:36
    2. Upside-Down SVGs 00:07:21
    3. Reverse the Bar 00:03:31
    4. Putting a Label 00:04:37
  7. Chapter 7 : Creating a Scatter Plot
    1. Circles in Action 00:07:11
    2. The Scatter Plot 00:02:47
    3. Breaking Down Scales 00:03:33
    4. Using the Scale Function 00:03:15
    5. Working with Arrays 00:02:51
    6. Visualization with Scales 00:04:56
  8. Chapter 8 : Creating a Line Chart and an Area Chart
    1. Adding the x-axis 00:07:02
    2. Styling the Axis 00:02:36
    3. Adding the y-axis 00:04:11
    4. Setting Up a Line Chart 00:06:18
    5. Creating the Line 00:04:28
    6. Adding Visual Information 00:03:42
  9. Chapter 9 : The Collapsible Tree Diagram
    1. What Is a Tree Diagram? 00:01:56
    2. Coding a Horizontal Tree 00:05:07
    3. Drawing a Path Between Two Points 00:08:44
    4. Updating the Nodes 00:04:59
    5. Making the Tree Collapsible 00:06:04
  10. Chapter 10 : Have Fun with Maps and GeoJSON
    1. What is the GeoJSON Format? 00:03:43
    2. Creating a Simple Map 00:03:29
    3. Extended Geographic Projections 00:03:30
    4. Make It More Functional 00:03:56
    5. Customize the Map 00:01:52