What you'll learn:
- Understand the fundamental building blocks of D3
- Gain a wide breadth of knowledge, learning how to create 14 different visualizations
- Critique existing visualizations and invent better designs for displaying data
- Interpret open source code from the D3 community for use in your own projects
- Master advanced tools in D3, building choropleth maps, brushes, tooltips, and layouts
- Develop substantial web apps, with multiple visualizations on the page at once
- Articulate original abstract ideas with compelling sketches
Welcome to Mastering data visualization in D3.js!
This course will take you from a beginner level in D3to the point where you can build virtually any visualization that you can imagine. The course will teach you to program in the latest version ofD3 - version 6.x.
Course Outline
In the first phase of the course, I will be building up your knowledge of D3 andintroducing you to some of the most foundational topics in data visualization. You will:
Understand whatSVGs areand how to they work with D3.
Discover howD3 associatesshapes with pieces of data.
Write scales, axes, and labels to make some basic visualizations.
Use the D3 update pattern to shift the position of SVGs as our data changes.
Handle user interactions by adding events to the page.
Add legends, tooltips, and sliders to your visualizations.
The course will also focus on data visualization design, helping you to make better decisions about how to structure your code, and teaching youto justify the decisions that you make to others. You will learn how to select theright visual channels for the data that you're working withto create completely uniquevisualizations.
In the second phase of the course, I will be taking you on a crash course through12 new visualizations. You will gaina wide breadth of knowledge in D3, as I will be walking you through pre-written code from members of the D3 community. I'll introduce you toD3 layouts, andI will be showing you how to build each of these visualizations in D3:
Line Charts
Area Charts
Stacked Area Charts
Pie Charts
Donut Charts
Wordclouds
Choropleth Maps
Node-Link Diagrams
Tree Diagrams
Treemaps
Circle Packs
Sunburst Plots
This part of the course will also teach you the skilloffinding new visualizations by yourself, adapting open source codeto fitwith your own data.
In the final phase of the course, I will be showing you the proper file structure to use for managing multiple visualizations on the page at once. You will be able to create visualizations that can communicate with one another, allowing you to link user interactions between multiple different graphs. You'll also learn how to use brushes in D3 to select areas on the chart with the drag of a mouse.
Class Projects
The course will include 4 class projects for you to complete, which will give you the opportunity to practice your D3 skills with real data:
A simple bar chart to display the revenue growth of a small coffee chain.
An updating bubble chart,cloninga famous visualization from Gapminder.
An interactive line chart, showing historical cryptocurrency prices over time.
A data dashboard for a large conglomerate company.
Each of the projects willgradually become more complex as the course progresses.
Should I Take This Course?
D3 is an incredibly powerful library to use, with a strong community of developers which is growing every day.Students should take this class if they want to get a rigorous introduction to D3, which covers a wide range of different topics.
This course is not an introductory course to web development. Students are expected to have had experience coding in JavaScript, HTML, CSS, and jQuery before enrolling in this course.