- 48lessons
- 4guided projects
- 8module checkpoints
- 2.1hours of video
What you'll learn
- Bind arrays of rows to SVG elements with keyed joins and render idempotently with selection.join.
- Build linear, band, time, square-root, logarithmic and colour scales, and verify their domain, range and boundary behaviour by arithmetic.
- Use d3 layouts (stack, pie and arc, hierarchy, treemap, tree and force) and check their computed geometry numerically.
- Animate with transitions, keyed enter and exit, tweens and interrupts, and honour reduced-motion preferences.
- Deliver one accessible interactive visualization with validated scales and interactions, clean teardown and a reproducible evidence package.
Skills you'll gain
- Data joins
- Scales
- axes
- SVG encodings
- Layouts
- Interaction
- brushing
- Transitions
- Accessibility
- responsiveness
- Visualization project
Tools you'll use
- D3 7
- SVG
- Desktop Chrome, Firefox or Edge
- CSV and JSON fixtures
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 2
Data joins to Scales and axes
Bind arrays to SVG elements, control which elements are created, kept and removed, and prepare typed data that feeds the joins.
You build: Guided project “Scaled chart frame with typed data”: A render(rows) function with keyed joins, idempotence test and the join-sizes helper.
- 02
Modules 3 to 5
SVG encodings to Interaction and brushing
Draw bars, points, lines, areas and labels as SVG elements whose geometry comes directly from scales, and keep every encoding checkable in the DOM.
You build: Guided project “Interactive linked explorer”: Pointer and keyboard tooltips with datums and a listener-count test.
- 03
Modules 6 to 7
Transitions to Accessibility and responsiveness
Animate attribute changes with d3-transition, keep entering and exiting elements consistent, control interruptions, and respect reduced-motion preferences.
You build: Guided project “Animated, accessible and responsive build”: Keyed enter, update and exit transitions, an arc or counter tween, a cancellable animation and a motion policy.
- 04
Module 8
Visualization project
Plan, build, test, harden and present one accessible interactive visualization whose scales, interactions and cleanup are verified by checks the learner wrote.
You build: Final project build and trainer-reviewed demonstration (see project).
Full curriculum
8 modules and 48 lessons, 29 to 50 hours of study
01Data joins6 lessons, 3 to 5 hours
Lessons
- Binding an array to selected elements with selection.data
- Appending SVG circles from the enter selection
- Keyed joins that keep elements tied to their data
- Re-rendering idempotently with selection.join callbacks
- Parsing CSV text into typed rows with d3.csvParse and autoType
- Grouping and summarising rows with d3.group and d3.rollup
After this module you can
- Predict and verify the sizes of the update, enter and exit selections after binding a data array to existing SVG elements.
- Append one SVG circle per datum with data-driven cx and r through attr callbacks and confirm the elements are in the SVG namespace.
- Aggregate typed rows into per-key totals with d3.rollup and turn the resulting map into an array that feeds a keyed join.
02Scales and axes7 lessons, 3 to 5 hours
Lessons
- Linear scale arithmetic: domain, range, extrapolation, clamp and invert
- Deriving domains from data with d3.extent, d3.max and nice
- Margins and axes with axisBottom, axisLeft and group transforms
- Band scales for categories: bandwidth, step and padding
- Time scales and Dates with scaleUtc, ticks and tick formats
- Square-root and logarithmic scales for area and orders of magnitude
- Colour scales with scaleOrdinal, scaleSequential and scaleThreshold
After this module you can
- Compute by hand and then verify the output of a linear scale for inside, outside and clamped inputs, and invert pixel values back to data values.
- Compute a scale domain from rows with d3.extent and d3.max, handle missing values and empty input, and round the domain outwards with nice.
- Pick a colour scale type for categorical, continuous and binned data and predict its output at boundary values.
03SVG encodings7 lessons, 3 to 5 hours
Lessons
- SVG user space, viewBox and the scale factor to CSS pixels
- Bar geometry from scales, including negative values
- Circles and scatterplots with controlled overplotting
- Line paths with d3.line, defined and curves
- Area paths and baselines with d3.area
- Groups, text labels and anchors for direct labelling
- Encoding beyond colour: dash patterns and direct labels
After this module you can
- Predict where a user-space coordinate lands in CSS pixels from width, height, viewBox and preserveAspectRatio, and set a viewBox so a chart authored in fixed units scales to its container.
- Compute rect x, y, width and height for positive and negative values from a band scale and a linear scale, never producing a negative width or height.
- Give each series a distinct stroke-dasharray and a direct label so the series stay distinguishable without colour.
04Layouts6 lessons, 3 to 4 hours
Lessons
- Stacked bars with d3.stack, series and offsets
- Pie and donut charts with d3.pie and d3.arc
- Hierarchy data with d3.hierarchy, sum, sort and traversal
- Treemaps from node values: size, padding and area checks
- Node-link trees with d3.tree and link generators
- Force simulations: mutation, link resolution and manual ticks
After this module you can
- Compute stacked [y0, y1] pairs per series with d3.stack, draw them as rects, and switch to a 100 percent layout with an offset.
- Compute arc angles with d3.pie, draw them with d3.arc, and predict angles, sort order and the path origin.
- Run a force simulation to completion without animation, verify the properties it adds to nodes, and pin a node with fx and fy.
05Interaction and brushing6 lessons, 3 to 4 hours
Lessons
- Event listeners, datums and d3.pointer
- Tooltips that work for hover, focus and keyboard
- Brushing a range with d3.brushX and inverting the selection
- Linked views: filtering a detail chart from a brush
- Zoom and pan with d3.zoom, scaleExtent and rescaleX
- Programmatic brush moves, source guards and keyboard alternatives
After this module you can
- Attach and remove namespaced listeners with selection.on, read the datum from the listener's second argument, and convert pointer coordinates back to data values.
- Give every mark a tab stop and show the same tooltip on pointer enter and on focus, hide it on leave and blur, and link it to the mark.
- Move and clear a brush from code and from form inputs, prevent feedback loops with a sourceEvent guard, and provide an input-based alternative to dragging.
06Transitions5 lessons, 2 to 4 hours
Lessons
- Transition basics: duration, delay and end state
- Animating enter, update and exit with join and key functions
- Interpolators and tweens for colours, text and arcs
- Chained and named transitions, interrupts and end() rejection
- Reduced motion and animation budgets
After this module you can
- Create a transition that moves attributes from their current values to targets, set duration and a per-element delay, and assert the final state after it ends.
- Animate entering marks from a start state, move retained marks, fade and remove exiting marks, and prove the DOM contains exactly the data rows once everything finishes.
- Skip or shorten animation when the user prefers reduced motion, cap total stagger time, and verify that the final state is identical with and without animation.
07Accessibility and responsiveness6 lessons, 3 to 4 hours
Lessons
- Accessible names for SVG charts: role, aria-label and aria-labelledby
- A data table equivalent generated from the same rows
- Keyboard navigation across marks with roving tabindex
- Contrast ratios and colour-independent meaning
- Responsive charts: viewBox scaling, ResizeObserver and tick counts by width
- Target size and pointer parity for small marks
After this module you can
- Name a static chart with role img and a label that states chart type, variables and range, and choose a different structure when the chart contains focusable marks.
- Generate an HTML table with caption and column headers from the chart's rows so that every plotted value is available as text.
- Ensure every interactive mark meets the 24 by 24 CSS pixel target-size rule or the spacing exception, using transparent hit areas where marks are small.
08Visualization project5 lessons, 2 to 4 hours
Lessons
- Project brief: data audit and encoding specification
- Static build driven by the spec, with table-driven scale tests
- Adding linked interaction on one state object
- Robustness and cleanup: empty states, failed loads and destroy()
- Evidence package and live demonstration
After this module you can
- Audit a dataset and write a machine-checkable encoding specification that maps each plotted field to a channel, scale type, domain rule and unit.
- Draw the primary chart from the spec using a shared render function and prove its scales and marks with a table of expected input and output values.
- Assemble a reproducible evidence package with run instructions, test reports, responsive captures and an accessibility checklist, and demonstrate the project to a trainer.
What you'll build
4 guided projects along the way, then a final project.
Scaled chart frame with typed data
after module 2Encoded marks and layouts for one dataset
after module 4Interactive linked explorer
after module 5Animated, accessible and responsive build
after module 7
Final project
Accessible interactive data visualization with validated scales and interactions. Choose one option: A.; B.; C..
What you submit
Source and artifact submission: repository or zip containing source, fixtures, README and pinned D3 URL, with the dataset origin and licence recorded.
How it's reviewed
Trainer review against the rubric: Scales: spec matches data types every scale has asserted boundary behaviour (weight 20 percent). Geometry and layouts: DOM attributes match independently computed values (20 percent).
Where you'll use it
- Build an overview-and-detail chart that lets colleagues brush a time range and see the matching records.
- Check that a published chart's scales, labels and keyboard access are correct before it goes into a report.
Roles that use these skills
- Data visualization developer
- Front-end developer
- Data journalist
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What do I need before I start?
Prerequisite courses: JavaScript DOM & Browser APIs, Data Visualization and Storytelling. Learners should be able to write modern JavaScript (functions, arrays, objects, arrow functions, modules, promises) and manipulate the DOM and events, as taught in JavaScript DOM & Browser APIs, and should know why a chart encodes data the way it does, as taught in Data Visualization and Storytelling. Diagnostic check before module 1: (1) given an array of 5 objects, produce an array of one field with map and compute its maximum without Math.max on strings; (2) append a new element to a div with document.createElement and add a click listener; (3) explain in one sentence why a bar chart of counts should start at zero. Learners who cannot do (1) or (2) should complete the earlier course first; learners who cannot do (3) should read the the earlier course encodings module first. No prior knowledge of SVG or D3 is assumed; SVG geometry, viewBox and scales are taught here from first principles.
Do I get a certificate?
We do not issue certificates until you successfully build and demonstrate your live project. Module and final assessments are planned; the module pass rule is proposed, not final. Certificates are issued by OUTLEARN staff; nothing is issued automatically.
Where do the labs run?
Primary: current stable desktop Chrome, Firefox or Edge opening a static HTML page that imports D3 7 as an ES module from a pinned CDN URL. Fixtures are local CSV and JSON files; no network calls at test time and no credentials. Assertions run inside the page (a small harness that reports pass or fail per check).
Be first in when D3.js Data Visualizations opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens

