狠狠撸

狠狠撸Share a Scribd company logo
2018-03-31 LEOLUYI@III
https://goo.gl/uLgwSe
1 — ? leoluyi, 2018
> Leo Lu
>
>
> Build data products
> ETL
> Models
> Text mining
> Viz
> ...
2 — ? leoluyi, 2018
>
>
>
>
> Excel
>
3 — ? leoluyi, 2018
4 — ? leoluyi, 2018
WHY DO WE CREATE DATA VIZ?
5 — ? leoluyi, 2018
PURPOSES OF VIZ
> Communicate
> ......
>
> ...
6 — ? leoluyi, 2018
WHAT I OFTEN DO:
DATA ANALYSIS (EDA)
7 — ? leoluyi, 2018
OUTLINES
> The language of data viz (20 min)
> Viz the model by example (20 min)
> Summary and Recap (5 min)
8 — ? leoluyi, 2018
THE LANGUAGE OF DATA VIZ
9 — ? leoluyi, 2018
1.
>
2. XX YY
> XX
10 — ? leoluyi, 2018
11 — ? leoluyi, 2018
Tidyverse -- Hadley Wickham
12 — ? leoluyi, 2018
13 — ? leoluyi, 2018
1. Issues:
2. Geoms:
> bar chart, line chart, heat map, ...
3. Variables:
>
4. Aesthetic Mapping
5. Layers
6. Stackinf
14 — ? leoluyi, 2018
Grammar of Graphics
AESTHETIC MAPPING
15 — ? leoluyi, 2018
Bar Chart
> Geom: Bar
> x: Percentage
> y: Foreign countries
16 — ? leoluyi, 2018
1
> Geom: Point
> x: Price
> y: Avg price without flappy bird
17 — ? leoluyi, 2018
2
!!
> Geom: Bar
> x: Prize pool
> y: e-sports
> fill color: Raised by fan / not fan
18 — ? leoluyi, 2018
3
!!!!
> Geom: Map raster
> raster: Countries
> fill color: Percentage
19 — ? leoluyi, 2018
4
!!!
Boxplot -- John W. Tukey
> Statistical purpose
> Geom: boxplot
> x: ...
> y: ...
> 1st quantile
> median
> 3rd quantile
20 — ? leoluyi, 2018
5
!
Stephen Few -- Dashboard
> Geom: too many
> Grid
> ...
21 — ? leoluyi, 2018
6
!
??
> Geom:
> x: Variables
> y: Records
22 — ? leoluyi, 2018
R GGPLOT2
23 — ? leoluyi, 2018
GGPLOT2 IN R
> ggplot2
R Hadley
Wickham
>
Grammar of Graphics
24 — ? leoluyi, 2018
Grammar of Graphics :
>
>
>
25 — ? leoluyi, 2018
LIVE DEMO
26 — ? leoluyi, 2018
VISUALISE THE
MODEL
27 — ? leoluyi, 2018
Viz is fundamentally a human
activity.
28 — ? leoluyi, 2018
MODEL + VIZ == GOOD BUSINESS
> We cannot scale good viz
> But Modeling can!
( )
29 — ? leoluyi, 2018
30 — ? leoluyi, 2018
LIVE DEMO AGAIN
31 — ? leoluyi, 2018
SUMMARY
> From data, to model, to viz
> Learn a viz language with its tools
> Play with your data
32 — ? leoluyi, 2018

More Related Content

视觉化的语言心法-资料、模型、与沟通