Skip to content

Commit bb70f33

Browse files
explain app4
1 parent d8d89ac commit bb70f33

File tree

3 files changed

+1718
-5
lines changed

3 files changed

+1718
-5
lines changed

PITCHME.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
- CUIで [ $python app1.py ] とすると・・・
2929

3030
+++?image=app1.PNG&size=auto 70%
31-
- チャートが表示されます。
31+
3232

33-
+++
33+
---
3434

3535
- app = dash.Dash() / アプリの箱作り
3636
- app.layout = ~~~ / アプリの中身作り
@@ -40,6 +40,15 @@
4040

4141
---
4242

43-
## なんか大したことないよね・・・
43+
### なんか大したことないよね
44+
45+
### はい。でも次は結構すごいです。
4446

4547
---
48+
49+
### app4.py
50+
- スライダーを使って年を選んだり
51+
- legendをクリックしただけでデータが選択できたりします。
52+
53+
+++?code=app4.py
54+

app4.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
import plotly.graph_objs as go
66

77
df = pd.read_csv(
8-
'https://raw.githubusercontent.com/plotly/'
9-
'datasets/master/gapminderDataFiveYear.csv')
8+
'fiveyeardata.csv')
109

1110
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
1211

0 commit comments

Comments
 (0)