~/talk

SVG charts and graphics with Ruby

Talkat MountainWest RubyConf 2015 · 2015-03-09..03-10· [data-visualization, ruby]
slides:none on file

Shows how to generate SVG charts in Ruby instead of shipping a 100 KB JavaScript library like d3, with runnable examples: a bar chart built from rect elements, a line chart using a path plus circles for points, and a donut chart made from two arcs that require polar→Cartesian trig for the math. Covers embedding vs image/object for caching, styling via CSS classes and stroke/fill, manipulating SVG with JS, printing SVG to PDF with phantomjs, and a bare‑bones implementation on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 4:30Rules of Web Design
  3. 9:09CSS
  4. 11:00Browser SVG
  5. 13:07Bar Charts
  6. 16:24Line Charts
  7. 18:20Math
  8. 19:52Donut Chart
  9. 21:55SVG Math
  10. 23:10Dragons
  11. 25:35Outro
~/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.