You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been coaching d3.js with one of the West London students and I feel that it could be a good advanced tutorial to go beyond the JavaScript basics. Here's a suggested lesson plan:
Lesson 1 - D3.js basics
Basic HTML structure
Append element (add an h1 to the document)
Simple selection
Select (create ul + li, select the ul, set a property)
selectAll (set a property on all the li)
Bind data + enter
Simple div with text content
Simple bars
Coloured bars
Load external data
Local web server
Bar width: value
Text: title
Lesson 2 - Simple SVG
Basic SVG scatter plot
Scales
linear
time
ordinal
Axes
Line graphs
Area graphs
Box plots
Lesson 3 - Visualisations
Histogram
Pie
Pack
Dendro
Stream (area stack)
Bar Stack (introduce data on sub-fields)
Lesson 4 - Dynamic Graphs
On
Hover + highlight related sections to show how to use selections with “classed” applied and dynamic conditions that are true of false based on data fields
Action on click
Update / exit
The text was updated successfully, but these errors were encountered:
I've been coaching d3.js with one of the West London students and I feel that it could be a good advanced tutorial to go beyond the JavaScript basics. Here's a suggested lesson plan:
Lesson 1 - D3.js basics
Lesson 2 - Simple SVG
Lesson 3 - Visualisations
data
on sub-fields)Lesson 4 - Dynamic Graphs
The text was updated successfully, but these errors were encountered: