Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to D3.js with React
Rating: 4.2 out of 5(506 ratings)
2,865 students

Introduction to D3.js with React

Learn how to use D3.js (version 6.x) in a React environment. Learn enough D3 to be dangerous, and get started ASAP.
Created byAdam Janes
Last updated 7/2020
English

What you'll learn

  • Understand the fundamental building blocks of D3
  • Know how SVGs work, and how to manipulate them with D3
  • Set up a working file architecture for using React and D3 together
  • Pass events between React components and D3
  • Build updating charts that react to user input

Course content

6 sections52 lectures5h 40m total length
  • Introduction to the course2:53

    Start your journey with this introduction to D3.js with React, outlining how to get these libraries to work together in your local environment.

  • Why you should learn D35:13

    Discover why D3, along with two competing libraries, dominates complex web data visualizations through unmatched flexibility, custom data-driven charts, smooth transitions, and a thriving open-source community.

  • How this course is structured3:28

    Get an overview of the five-section course, from setting up the development environment to building scales, axes, and animated updates in D3.js with React, culminating in interactive charts.

  • Course resources explained3:22

    Explore the course GitHub page for all code, folders by section, and quick Q&A help, including code formatting tips and development environment setup.

  • Course resources0:24

Requirements

  • Students should have a good understanding of HTML, CSS, and JavaScript
  • Students should already be familiar with coding in React

Description

Welcome to Introduction to D3.js with React!

This course will help you to get up and running with D3.js in a React environment as quickly as possible. The course will teach you to program in the latest version of D3 - version 6.x.

Course Outline

The course is structured in a code-along format, gradually adding on to what you can do with the D3 library over the course of 5 sections.

Section 1:

  • Telling you why you should learn D3

  • Going over the structure of the course

  • Explaining course resources

Section 2:

  • Getting your environment setup

  • Creating a wrapper for using React and D3 together

  • Introducing SVGs

  • Taking your first steps in D3

Section 3:

  • Building a static bar chart with D3

  • How to add scales and axes to a chart

  • Introducing the D3 axis generators

  • Adding in the D3 margin convention

Section 4:

  • Building an updating bar chart with D3

  • Introduction to the D3 Interval method

  • Using the D3 transition suite

  • Understanding the D3 General Update Pattern

  • Updating the chart according to user input through React

Section 5:

  • Building a complete web app with React and D3

  • Building a scatterplot with D3

  • Handling events between React and D3

  • Practicing using the two libraries together


Should I Take This Course?

D3 is an incredibly powerful library to use, with a strong community of developers which is growing every day. The library famously doesn't play well together with React, as they both want total control over the DOM. Take this course if you want to learn the right way to get these two libraries together, and get up and running as quickly as possible.

This course is not an introductory course to web development. Students are expected to have had experience coding in JavaScript, HTML, CSS, and React before enrolling in this course.

Who this course is for:

  • React developers who want to get started with D3 as quickly as possible
  • Anyone who wants to know "enough D3 to be dangerous"