D3Js Basics

Offered By
Coursera Project Network
In this Guided Project, you will:

Use VS Code + Node.js to set up your environment for data visualization and we will talk about the fundamentals of SVGs.

Understand core concepts of working with the d3 library such as selections and data binding.

Create a bar graph of how many injuries occur by different body parts.

Clock1.5 hours
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 1.5-hour long project-based course I will show you the basic concepts to create data visualizations in D3.js. You will learn how to use SVGs, select, and bind data in order to create a  bar chart. We will be visualizing firecracker injuries in 2019. This data is from the U.S. Consumer Product Safety Commission (CPSC) Fireworks Annual Report. Inspired by recent events this summer we are going to visualize firework injuries in the United States.  Firework injury data can be found at U.S. Consumer Product Safety Commission (CPSC) .

Skills you will develop

  • JavaScript
  • Data Visualization (DataViz)

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction to D3.js

  2. Setup Environment

  3. SVG Basics

  4. Selecting

  5. Binding

  6. Bar Graph Loading Data

  7. Creating our Canvas and Scales

  8. Drawing our bars

  9. Creating our axis

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.