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
ggplot.galleryというお遊びウェブアプリケーションを作った話
Search
Atsushi Takayama
July 10, 2017
Technology
0
410
ggplot.galleryというお遊びウェブアプリケーションを作った話
Atsushi Takayama
July 10, 2017
Tweet
Share
More Decks by Atsushi Takayama
See All by Atsushi Takayama
最高の開発者体験の追求が開発生産性を改善し続ける文化を生み出した話
edvakf
3
1.3k
NeurIPS 2021 論文読み会: How Modular should Neural Module Networks Be for Systematic Generalization?
edvakf
0
170
8年物のJavaのシステムをKotlinに変えていく選択に至るまで
edvakf
2
1.1k
ピクシブ社内のImageFlux利用事例紹介
edvakf
2
2.9k
学びの文化を育む社内読書会のススメ
edvakf
0
280
フルCDNアーキテクチャでサービス設計した話
edvakf
5
4k
Goでバイナリを読む+α
edvakf
1
950
お前はこれまでに作ったAPIの数を覚えているのか?
edvakf
0
2.6k
「ふつうのRailsアプリケーション」についての考え方
edvakf
2
870
Other Decks in Technology
See All in Technology
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
180
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
1
260
Snowflakeの生成AI機能を活用したデータ分析アプリの作成 〜Cortex AnalystとCortex Searchの活用とStreamlitアプリでの利用〜
nayuts
1
450
DDD集約とサービスコンテキスト境界との関係性
pandayumi
2
270
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
160
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
9
2.9k
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.5k
カミナシ社の『ID管理基盤』製品内製 - その意思決定背景と2年間の進化 #AWSUnicornDay / Kaminashi ID - The Big Whys
kaminashi
3
860
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
410
落ちる 落ちるよ サーバーは落ちる
suehiromasatoshi
0
150
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
420
Featured
See All Featured
Six Lessons from altMBA
skipperchong
28
4k
A better future with KSS
kneath
239
17k
How STYLIGHT went responsive
nonsquared
100
5.8k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
The Art of Programming - Codeland 2020
erikaheidi
55
13k
Docker and Python
trallard
45
3.6k
Being A Developer After 40
akosma
90
590k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
The Invisible Side of Design
smashingmag
301
51k
Transcript
ggplot.galleryͱ͍͏ ͓༡ͼΣϒΞϓϦέʔγϣϯΛ࡞ͬͨ fukuoka.R #08 (ฏ൛)
ࣗݾհ • ߴࢁԹ @edvakf • ϐΫγϒCTO݉ԬΦϑΟε্ཱͪ͛୲ • େֶӃ࣌౷ܭཧͰɺMatLabΛͬͯ·ͨ͠ • RͪΐͬͱͬͨهԱ͕͋Δ…
• ࣄͰओʹΣϒΞϓϦέʔγϣϯΤϯδχΞ
·ͣσϞ
None
None
ggplotͱ • ϓϩοτΛඳ͘RͷϥΠϒϥϦ • The Grammer of Graphicsͱ͍͏ຊͷମܥʹج͍ͮͨ API •
៉ྷͳϓϩοτ͕Ͱ͖Δ • ͱʹ͔͘៉ྷʂ
ྫɿώετάϥϜ
ൺֱɿmatplotlib pythonͰղੳͷίʔυॻ͍ͯͯɺϓϩοτ͚ͩggplotͰΓͨ͘ͳͬͯ͘Δ…
ॻ͖ํ library(ggplot2) library(reshape2) df <- read.table("random", header = TRUE) df
<- melt(df) plt <- ggplot(df, aes(x=value, fill=variable)) plt <- plt + geom_histogram(alpha=0.5, position="identity") plot()
Πέͯͳ͍ͱ͜Ζ • υΩϡϝϯτʹαϯϓϧίʔυ͕͋Δͷྑ͍͕ɺσʔ λ͕ແ͍ͷͰؾܰʹࢼͯ͠ΈΔ͜ͱ͕Ͱ͖ͳ͍ • http://docs.ggplot2.org/current/ • ͦͦR͕ͭΒ͍ • "<-"
Λॻ͘ͷ͕໘͍͘͞
ggplot.galleryͳΒ • ϓϩοτʹϑΝΠϧΛఴͰ͖Δ • ίʔυ͋Δ͚Ͳσʔλ͕ແ͍͔Β࣮ߦͰ͖ͳ͍ͱ͍ ͏͜ͱ͕ͳ͍ • ಈ͘αϯϓϧΛϑΥʔΫͯ͠ࢼߦࡨޡ͠ͳ͕ΒΈͷϓ ϩοτΛ࡞ΕΔ
͞Βʹ • ϓϩοτʹը૾ͷURL͕༩͑ΒΕΔͷͰɺνϟοτʹష Γ͚͍͢ • SVG, PNG • highchairsͳͲͰແཧ •
API͕ॆ࣮ • ʑͷKPIΛbot͕νϟοτʹషΔ༻్ͳͲΛఆ
RubyͰσʔλ࡞ͬͯggplot.galleryʹ͛ͯը૾URLΛSlackʹ͛ͯ·͢
ggplot.galleryΛࢧ͑Δٕज़ • go • Docker • ҙͷRͷίʔυΛ࣮ߦͰ͖ΔͷͰαϯυϘοΫεԽ • docker run
—net=none Ͱ֎෦ΞΫηεΛېࢭ • nginx • ը૾ͷΩϟογϡͳͲ • ansible • ηοτΞοϓͱσϓϩΠ
Fork me on GitHub • http://ggplot.gallery/ • https://github.com/edvakf/ggallery
ࠂɿpixiv Night #05 Πϥετͷػցֶशٕज़ ԬதܧϐΫγϒΦϑΟεͰΓ·͢ʢΠϕϯτϖʔδ·ͩ…ʣ