Powerful (but Easy) Data Visualization with the Graph Gem
summary
Code reads a giant XML with Nokogiri and emits dot files for Graphviz via the graph gem, turning 700+ lesson activities into directed graphs, exporting PNG/PDF, and printing a plotted three quarters of the curriculum wall chart. ColorBrewer palettes and node/edge attributes highlight orphan nodes and choke points; subgraph names that start with cluster produce boxed clusters. The pipeline is simple, scales to hundreds of nodes, and surfaces real bugs and priorities used in team reviews.
AI-written summary · about
chapters (16)
- 0:00Start
- 0:38Background
- 4:33Viewing DOT files
- 5:27A simple graph
- 5:55Adding Edges
- 6:52Exporting
- 8:40Boxes are Special
- 9:02Many Shapes
- 9:47One Color for All
- 10:07Many Colors
- 11:22Color Schemes
- 13:02Color Scheme Example
- 16:30Important Note
- 17:53Extract Data
- 18:13def draw graph(lessons, sequences) digraph do
- 21:44Thank You
related talks
25mPowerful (but Easy) Data Visualization with the Graph Gem
18mData Visualisation with Ruby
12mGraphite: A Library for Data Visualization
28mAdvanced Graph Visualizations in Jupyter Notebooks
34mVisualising Multi Dimensional Data
31mConfessions of a Data Junkie: Fetching, Parsing, and Visualization
37mExploring Graphs with Ruby
32mCode More, Draw Less, and Debug Just a Little!
