Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SVG Charts and Graphs With Ruby
Search
Starr Horne
May 01, 2015
Programming
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SVG Charts and Graphs With Ruby
Talk given at RailsConf 2015
Starr Horne
May 01, 2015
Transcript
80 slides
SVG Charts & Graphics in Ruby! by Starr Horne
SVG Charts & Graphics in Ruby! by Starr Horne
StarrHorne
StarrHorne 1999 The year was
StarrHorne
StarrHorne
StarrHorne
StarrHorne Rails 5: TurboXSLT
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne How to use SVG
StarrHorne
StarrHorne Can’t use CSS/JS
StarrHorne
StarrHorne CAN use CSS & JS
StarrHorne Let’s Take a Tour
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne SVG elements work like HTML elements
StarrHorne
StarrHorne
StarrHorne http://codepen.io/team/lincolnloop/pen/GgdLBa
StarrHorne
StarrHorne
StarrHorne Bar Charts
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne Line Charts
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne Do The Math
StarrHorne Data -> Graph Space -> “Pixel” Space
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne Do The (polar) Math
StarrHorne
StarrHorne
StarrHorne ¿Y Ruby?
StarrHorne
StarrHorne
StarrHorne Umm…string concatenation https://github.com/starrhorne/svg_sparklines (if you use it, fork it)
StarrHorne SVG sucks at many things
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne Building Web Applications in SVG …it’s good, even though
MS published it.
StarrHorne Thanks!
More Decks by Starr Horne
See All by Starr Horne
Ditching the Single Page Application - Madison+Ruby 2015
snhorne
0
270
Ditching the Single Page Application (RubyNation 2015)
snhorne
1
290
SVG Charts and Graphs With Ruby
snhorne
0
410
The short but happy lives of TCP and HTTP requests
snhorne
4
420
Machine Learning Techniques You Can Use Today
snhorne
4
220
Biggish Data with Rails and Postgresql
snhorne
3
990
Other Decks in Programming
See All in Programming
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
260
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
450
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
200
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
460
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
420
SODA - FACT BOOK(EN)
sodainc
1
290
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
440
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
350
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
170
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.3k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
320
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
It's Worth the Effort
3n
188
30k
Embracing the Ebb and Flow
colly
88
5.2k
Chasing Engaging Ingredients in Design
codingconduct
0
410
The Cult of Friendly URLs
andyhume
79
7.1k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k