federal statistical office fso highcharts@swissfso · pdf filefederal department of home...

44
Federal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report Daniel von Burg Graphics and web editor 18/05/2016 ESS visualisation workshop, Valencia

Upload: lythuy

Post on 19-Mar-2018

223 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Highcharts@SwissFSO A work-in- progress-report Daniel von Burg Graphics and web editor 18/05/2016 ESS visualisation workshop, Valencia

Page 2: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

2 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Since 1891: high quality graphics

Page 3: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

3 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

European Statistics Code of Practice

Page 4: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

4 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Xact was first available on Atari as well as IBM OS/2

com

mon

s.w

ikim

edia

.org

–Ata

ri_10

40S

Tf.jp

g, ©

Bill

Ber

tram

, 200

6

Page 5: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

5 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Still in use today for charts in print

Page 6: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

6 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

It still runs on Windows 10

Page 7: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

7 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Chart and data table are independent

Page 8: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

8 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Today’s / yesterday’s challenges

We can not easily produce interactive web charts. There ist no unicode support. PDF, SVG and other up-to-date

file formats are not supported. We cannot transfer charts easily from

one media to the other. Web charts are produced out of print.

Page 9: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

9 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Looking for an out-of-the-box solution, free for non-commercial use

Page 10: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

10 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Page 11: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

11 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

1st level of requirements

Error margins, confidence intervals Null (missing) values

Page 12: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

12 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

2nd level of requirements

Liquid layout (independent from screen space / screen resolution) = HTML5, no canvas

Can be adapted to use the Swiss governement corporate design guidelines

Page 13: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

13 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

3rd level of requirements

Categorical and numerical X-axis Two Y-axes Any colour for any category Multiple formats for labels:

-- digits after colon -- units

and many more

Page 14: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

14 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Commercial product, low costs

Page 15: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

15 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Highcharts is already in use by other government offices in Switzerland Swiss National Bank MeteoSwiss

Page 16: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

16 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Any out-of-the-box tool needs to be customized

Corporate design User instructions Documentation Quality control Use it in print and office software, too

Page 17: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

17 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Supply chain management

Data Story Master

!

Template Asset

Page 18: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

18 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

1. Storytelling

The editor needs to focus on content and relations that are relevant and interesting for the target audience.

Data Story

!

Page 19: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

19 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

2. Master (Vorlage)

Definition of chart type. Master files contain all settings defining the corporate design, including margins and grid colours.

Data Story Master

!

Template Asset

Page 20: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

20 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

3. Template (Schablone)

All settings that are relevant for the dissemination of data are defined on this level: titles, labels, colours for indicators, units and ranges for the axes.

Data Story Master

!

Template Asset

Page 21: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

21 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Final asset

Data and template are joined in this last step. This allows for an automatized actualisation or comparison of different categories.

Data Story Master

!

Template Asset

Page 22: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

22 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Objective

Embedding • Chart • Text • Table are equal components of the information

Application The chart enables users to explore the data

Page 23: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

23 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Some first results

Page 24: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

24 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

1st sprint: 2015 Federal Elections

Page 25: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

25 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

1st sprint: 2015 Federal Elections

+ Tap data point to see values

+ Apprentices were able to fill the data in all 26 files

− Only one canton at a time (on/off in InDesign)

Page 26: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

26 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

2nd sprint: Dashboard on crime indicators

Page 27: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

27 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Page 28: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

28 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

2nd sprint: Dashboard on crime indicators

HTML: Corporate Design

HTML

Page 29: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

29 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

2nd sprint

HTML

Page 30: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

30 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

A dashboard for information tourists

+ Compare two cantons at a time + Switch on/off all indicators + Multiple subcharts possible

− Cantons change colours when

switching − No comparision with the national

results at all times − Needs space

Page 31: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

31 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Dashboard combines different charts, but one goal

Page 32: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

32 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Dissemination and Target-groups

1. Specialists, statisticians, experts (miners)

2. Professional use, Administration, consultants, businesses (farmers)

3. Occasional users, Administration, media, politicians (tourists)

4. Passive consumers, Media consumers (consumers)

Page 33: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

33 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Standard products

Page 34: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

34 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

A comparator for cantons (DigiPub)

Standard product for web and tablet solutions

HTML

Page 35: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

35 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Almost unlimited possibilities, but JavaScript is not for everybody

com

mon

s.w

ikim

edia

.org

–Kna

ms-

15-k

nsq-

9.jp

g, ©

Den

nis

van

Zuijl

ekom

Page 36: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

36 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

A web frontend for chart editing

Embed charts into the web CMS

Page 37: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

37 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Four chart types at disposal

Page 38: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

38 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Title and Subtitle, with alignment / positioning

Page 39: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

39 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

many options for configurations

Page 40: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

40 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

special formatting for axes and tooltips

Page 41: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

41 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

categories, date/time, data

Page 42: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

42 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Preview function

Page 43: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

43 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

List of assets generated

Page 44: Federal Statistical Office FSO Highcharts@SwissFSO · PDF fileFederal Department of Home Affairs FDHA Federal Statistical Office FSO Highcharts@SwissFSO A work-in- progress-report

44 Highcharts @ Swiss Federal Statistical Office | A work-in-progress-report Daniel von Burg, Neuchâtel, 2016

Federal Department of Home Affairs FDHA Federal Statistical Office FSO

Further development?

Compare by • gender • nationality • education level • income level • territorial categories • a.s.o.