Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SVG Charts and Graphs With Ruby
Search
Starr Horne
March 10, 2015
Programming
0
380
SVG Charts and Graphs With Ruby
As given at Mountain West Ruby Conference 2015
Starr Horne
March 10, 2015
Tweet
Share
More Decks by Starr Horne
See All by Starr Horne
Ditching the Single Page Application - Madison+Ruby 2015
snhorne
0
250
Ditching the Single Page Application (RubyNation 2015)
snhorne
1
260
SVG Charts and Graphs With Ruby
snhorne
0
200
The short but happy lives of TCP and HTTP requests
snhorne
4
390
Machine Learning Techniques You Can Use Today
snhorne
4
200
Biggish Data with Rails and Postgresql
snhorne
3
970
Other Decks in Programming
See All in Programming
What's new in AppKit on macOS 26
1024jp
0
170
QA x AIエコシステム段階構築作戦
osu
0
140
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
290
Hack Claude Code with Claude Code
choplin
8
2.8k
コーディングエージェント概観(2025/07)
itsuki_t88
0
130
副作用と戦う PHP リファクタリング ─ ドメインイベントでビジネスロジックを解きほぐす
kajitack
2
440
中級グラフィックス入門~効率的なメッシュレット描画~
projectasura
2
1.2k
AIのメモリー
watany
11
940
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
3
250
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
690
The Modern View Layer Rails Deserves: A Vision For 2025 And Beyond @ RailsConf 2025, Philadelphia, PA
marcoroth
2
780
「次に何を学べばいいか分からない」あなたへ──若手エンジニアのための学習地図
panda_program
3
640
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
760
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Why Our Code Smells
bkeepers
PRO
337
57k
Done Done
chrislema
184
16k
Art, The Web, and Tiny UX
lynnandtonic
301
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
370
How STYLIGHT went responsive
nonsquared
100
5.6k
RailsConf 2023
tenderlove
30
1.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
47
9.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Transcript
SVG Charts & Graphics in Ruby! Starr Horne
SVG Charts & Graphics in Ruby! Starr Horne
StarrHorne
StarrHorne 1999 The year was
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne First rule of Web Design: ✨ ✨ Make the
logo look good ✨
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne
StarrHorne How to use SVG
StarrHorne
StarrHorne
StarrHorne Nice for caching
StarrHorne Can’t style with CSS
StarrHorne
StarrHorne Have to use fragment caching
StarrHorne Can use external 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
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 A Simple Ruby Implementation https://github.com/starrhorne/svg_sparklines (if you use it,
fork it)
StarrHorne Lies I Told During This Talk • SVG text
can be painful • Coordinate systems can be obtuse • Documentation is there, but trial and error is king (More like omissions)
StarrHorne Building Web Applications in SVG …it’s good, even though
MS published it.
StarrHorne Thanks!