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
370
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
社内での開発コミュニティ活動とモジュラーモノリス標準化事例のご紹介/xPalette and Introduction of Modular monolith standardization
m4maruyama
1
130
GraphRAGの仕組みまるわかり
tosuri13
7
460
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
1
200
FormFlow - Build Stunning Multistep Forms
yceruto
1
190
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
270
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
130
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
740
GoのGenericsによるslice操作との付き合い方
syumai
2
680
Java on Azure で LangGraph!
kohei3110
0
170
Spring gRPC で始める gRPC 入門 / Introduction to gRPC with Spring gRPC
mackey0225
2
520
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
250
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
46
14k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
What's in a price? How to price your products and services
michaelherold
246
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Embracing the Ebb and Flow
colly
86
4.7k
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!