~/talk

SVG Charts and Graphics with Ruby

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby, data-visualization]
slides:none on file

Shows that Ruby can generate SVG instead of pulling in a heavy JS library, actually building bar line and donut charts as XML using rect path circle and text, comparing a minified d3 bundle (~100 kB) to much smaller hand‑generated SVG, demonstrating inline vs external SVG for CSS/JS interactivity, caching strategies, and practical code routes (string concat, builders, Haml). Explains the math for arcs with polar to Cartesian conversion, viewBox units, and browser caveats like older IE and mobile performance.

AI-written summary · about

  1. 0:00Start
  2. 8:43Let's Take a Tour
  3. 10:53SVG elements work like HTML elements
  4. 14:00Bar Charts
  5. 17:01Line Charts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.