Slide 1

Slide 1 text

dchart: charts for deck/decksh Bitcoin to USD 0 4000 8000 12000 16000 20000 2017-08-06 2017-11-15 2018-02-23 2018-06-02 2018-08-07 AAPL Closing Price 166.4 2019-01-01 173.1 189.9 200.7 175.1 197.9 2019-06-01 213.0 208.7 224.0 248.8 267.2 2019-11-01 293.6 US Incarceration Rate White (39%) Hispanic (19%) Black (40%) Other (2%) Browser Market Share Dec 2016-Dec 2017 Chrome 53.7 Safari 14.5 Other 9.4 UC 8.3 Firefox 6.2 IE 4.0 Opera 3.9 y=sin(x) 0.00 1.00 2.00 3.00 4.00 5.00 6.00

Slide 2

Slide 2 text

166.4 173.1 189.9 200.7 175.1 197.9 213.0 208.7 224.0 248.8 267.2 293.6 2019-01-01 166.4 2019-02-01 173.1 2019-03-01 189.9 2019-04-01 200.7 2019-05-01 175.1 2019-06-01 197.9 2019-07-01 213.0 2019-08-01 208.7 2019-09-01 224.0 2019-10-01 248.8 2019-11-01 267.2 2019-12-01 293.6 Chrome 53.7 Safari 14.5 Other 9.4 UC 8.3 Firefox 6.2 IE 4.0 Opera 3.9 First one two 100 20 80 166.4 173.1 189.9 200.7 175.1 197.9 213.0 208.7 224.0 248.8 267.2 293.6 166.4 173.1 189.9 200.7 175.1 197.9 213.0 208.7 224.0 248.8 267.2 293.6 166.4 173.1 189.9 200.7 175.1 197.9 213.0 208.7 224.0 248.8 267.2 293.6 166.4 173.1 189.9 200.7 175.1 197.9 213.0 208.7 224.0 248.8 267.2 293.6 53.7 Chrome 53.7% 25.5 Other 25.5% 14.5 Safari 14.5% 6.2 Firefox 6.2% White (39%) Hispanic (19%) Black (40%) Other (2%) White (39%) Hispanic (19%) Black (40%) Other (2%) Chrome 53.7% Safari 14.5% Other 9.4% UC 8.3% Firefox 6.2% IE 4.0% Opera 3.9% Column Bar Word Bar Slope Scatter Dot Line Area Proportional Map Proportonal Grid Lego Donut/Pie

Slide 3

Slide 3 text

Count Of Things One 10 Two 20 Three 30 Four 40 Five 50 Six 60 Seven 70 Eight 80 Nine 90 Ten 100 31.8% 23.8% 22.4% 5.7% 16.3% 11.3% 10.1% 21.3% 15.9% 41.4% Management Service Sales Construction Production 31.8% 23.8% 22.4% 5.7% 16.3% 41.4% 15.9% 21.3% 10.1% 11.3% Management Service Sales Construction Production Radial Fan Bowtie

Slide 4

Slide 4 text

X Label Y Value Columns (pick two) Data # AAPL Closing Price 2019-01-01 166.440002 2019-02-01 173.149994 2019-03-01 189.949997 2019-04-01 200.669998 2019-05-01 175.070007 2019-06-01 197.919998 2019-07-01 213.039993 2019-08-01 208.740005 2019-09-01 223.970001 2019-10-01 248.759995 2019-11-01 267.250000 2019-12-01 293.649994 Date,Open,High,Low,Close,Adj Close,Volume 2019-01-01,154.889999,169.000000,142.000000,166.440002,163.587997,828087400 2019-02-01,166.960007,175.869995,165.929993,173.149994,170.183029,472540600 2019-03-01,174.279999,197.690002,169.500000,189.949997,187.495865,650981400 2019-04-01,191.639999,208.479996,188.380005,200.669998,198.077362,506117700 2019-05-01,209.880005,215.309998,174.990005,175.070007,172.808105,739456600 2019-06-01,175.600006,201.570007,170.270004,197.919998,196.115219,515187300 2019-07-01,203.169998,221.369995,198.410004,213.039993,211.097366,473957000 2019-08-01,213.899994,218.029999,192.580002,208.740005,206.836563,681074600 2019-09-01,206.429993,226.419998,204.220001,223.970001,222.770889,542567100 2019-10-01,225.070007,249.750000,215.130005,248.759995,247.428162,608302700 2019-11-01,249.539993,268.000000,249.160004,267.250000,265.819183,448331500 2019-12-01,267.269989,293.970001,256.290009,293.649994,292.954712,597198700 Tab-Separated Comma-Separated (CSV)

Slide 5

Slide 5 text

Data to Chart Data Markup PDF Rendition # AAPL Closing Price 2019-01-01 166.440002 2019-02-01 173.149994 2019-03-01 189.949997 2019-04-01 200.669998 2019-05-01 175.070007 2019-06-01 197.919998 2019-07-01 213.039993 2019-08-01 208.740005 2019-09-01 223.970001 2019-10-01 248.759995 2019-11-01 267.250000 2019-12-01 293.649994 AAPL Volume 563.1 2017-01-01 . . . AAPL Closing Price 166.4 2019-01-01 173.1 189.9 200.7 2019-04-01 175.1 197.9 213.0 2019-07-01 208.7 224.0 248.8 2019-10-01 267.2 293.6 dchart AAPL.d | pdf

Slide 6

Slide 6 text

Generating data for charts package main import ( "fmt" "math" ) func main() { fmt.Println("# y=sin(x)") for x := 0.0; x < math.Pi*2; x += 0.1 { fmt.Printf("%.2f\t%.4f\n", x, math.Sin(x)) } } # y=sin(x) 0.00 0.0000 0.10 0.0998 0.20 0.1987 0.30 0.2955 0.40 0.3894 0.50 0.4794 0.60 0.5646 0.70 0.6442 0.80 0.7174 . . 5.80 -0.4646 5.90 -0.3739 6.00 -0.2794 6.10 -0.1822 6.20 -0.0831 y=sin(x) 0.00 1.00 2.00 3.00 4.00 5.00 6.00 go run sine.go | dchart -bar=f -val=f -xlabel=10 -line -vol -bottom=50 | pdfdeck -stdout - > sine.pdf

Slide 7

Slide 7 text

dchart API package main import ( "fmt" "os" "github.com/ajstarks/dchart" "github.com/ajstarks/deck/generate" ) func main() { chart := dchart.NewFullChart("bar", 0, 0, 0, 0) chart.ShowTitle = true chart.XLabelInterval = 2 deck := generate.NewSlides(os.Stdout, 0, 0) deck.StartDeck() for _, f := range os.Args[1:] { r, err := os.Open(f) if err != nil { fmt.Fprintf(os.Stderr, "%v\n", err) continue } chart.GenerateChart(deck, r) } deck.EndDeck() }

Slide 8

Slide 8 text

Using dchart with decksh 828.1 2019-01-01 472.5 651.0 2019-03-01 506.1 739.5 2019-05-01 515.2 474.0 2019-07-01 681.1 542.6 2019-09-01 608.3 448.3 2019-11-01 597.2 166.4 2019-01-01 173.1 189.9 2019-03-01 200.7 175.1 2019-05-01 197.9 213.0 2019-07-01 208.7 224.0 2019-09-01 248.8 267.2 2019-11-01 293.6 APPL volume APPL close Peak Close cw=40 // chart width t=80 // top b=t-20 // bottom l1=5 // volume chart left r1=l1+cw // volume chart right l2=r1+10 // close chart left r2=l2+cw // close chart right opts="-fulldeck=f -xlabel=2 -title=f -bar=f" copts="-dot -line -csv -csvcol Date,Close" dchart opts -vol -top t -bottom b -left l1 -right r1 code/AAPL-vol.d dchart opts copts -top t -bottom b -left l2 -right r2 code/AAPL.csv text "APPL volume" l1 b 2 text "APPL close" l2 b 2 arrow r2 b r2 t 0.2 2 1 "red" etext "Peak Close" r2 b 1 "sans" "gray"

Slide 9

Slide 9 text

Composite Charts 0.00 1.00 2.00 3.00 4.00 5.00 6.00 // go run mfunc.go -f cos > code/cos.d // go run mfunc.go -f sin > code/sin.d opts="-top=80 -bottom=60 -left=20 -right=80 -fulldeck=f -title=f -val=f -bar=f -line -vol" dchart opts -xlabel=10 -color orange code/cos.d dchart opts -xlabel=0 code/sin.d

Slide 10

Slide 10 text

Command Line Options

Slide 11

Slide 11 text

Chart Types Chart Elements Position and Scaling Measures and Attributes -bar -wbar -hbar -donut -dot -lego -line -pgrid -pmap -bowtie -fan -radial -scatter -slope -vol true false false false false false false false false false false false false false false bar chart word bar chart horizontal bar chart donut chart dot chart lego chart line chart proportional grid proportional map bowtie chart fan chart radial chart scatter chart slope chart volume (area) chart -csv -frame -fulldeck -grid -note -pct -rline -solidpmap -spokes -title -val -xlast -xstagger -yaxis -chartitle -datacond -hline -valpos -xlabel -yrange false false true false true false false false false true true false false false override title in data low,high,color value,label t=top, b=bottom, m=middle default=1, 0 to suppress min,max.step read CSV files show a colored frame generate full deck markup show gridlines on the y axis show annotations show computed percentage show a regression line show solid pmap colors show spokes in radial chart show the title show values show the last x label stagger x axis labels show a y axis specify the title conditional data colors label horizontal line at value value position x axis label interval specify the y axis label range -top -bottom -left -right -min -max 80 30 20 80 data min data max top of the chart bottom of the chart left margin right margin set the minimum data value set the maximum data value -bgcolor -barwidth -color -csvcol -datafmt -dmin -framecolor -lcolor -linewidth -ls -noteloc -pmlen -psize -pwidth -rlcolor -textsize -xlabrot -vcolor -volop white computed from data size lightsteelblue labe1,label2 %.1f false rgb(127,127,127) rgb(75,75,75) 0.2 2.4 c=center, r=right, l=left 20 30 3 rgb(127,0,0) 1.5 0 rgb(127,0,0) 50 background color barwidth data color specify csv columns data format for values use data minimum, not zero frame color label color linewidth linespacing annotation location pmap label length diameter of the donut width of the donut or pmap regression line color text size xlabel rotation (deg.) value color volume opacity %

Slide 12

Slide 12 text

Command Examples

Slide 13

Slide 13 text

AAPL Closing Price 0 60 120 180 240 300 166.4 2019-01-01 173.1 189.9 2019-03-01 200.7 175.1 2019-05-01 197.9 213.0 2019-07-01 208.7 224.0 2019-09-01 248.8 267.2 2019-11-01 293.6

Slide 14

Slide 14 text

Chart Attributes yaxis left val title top bar bottom grid right xlabel dchart -left=20 -right=80 -top=75 -bottom=30 -yaxis -grid -xlabel=2 -val AAPL.d AAPL Closing Price 0 60 120 180 240 300 166.4 2019-01-01 173.1 189.9 2019-03-01 200.7 175.1 2019-05-01 197.9 213.0 2019-07-01 208.7 224.0 2019-09-01 248.8 267.2 2019-11-01 293.6

Slide 15

Slide 15 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Default Bar Chart dchart AAPL.d

Slide 16

Slide 16 text

Close 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Reading CSV files dchart -csv -csvcol=Date,Close AAPL.csv

Slide 17

Slide 17 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Frame, Frame Color dchart -frame=t -framecolor=blue AAPL.d

Slide 18

Slide 18 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Background, Label, Value Color dchart -bgcolor=black -lcolor=white -vcolor=orange AAPL.d

Slide 19

Slide 19 text

Close:2019 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Chart Title dchart -chartitle="Close:2019" AAPL.d

Slide 20

Slide 20 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Data Conditions dchart -datacond=150,200,orange AAPL.d

Slide 21

Slide 21 text

AAPL Closing Price 166.4 2019-01-01 173.1 189.9 2019-03-01 200.7 175.1 2019-05-01 197.9 213.0 2019-07-01 208.7 224.0 2019-09-01 248.8 267.2 2019-11-01 293.6 X-Axis Label Interval dchart -xlabel=2 AAPL.d

Slide 22

Slide 22 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Stagger X-Axis Labels dchart -xstagger AAPL.d

Slide 23

Slide 23 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 X-Axis Label Rotation dchart -xlabrot=300 AAPL.d

Slide 24

Slide 24 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Value Color, Value Position Bottom dchart -vcolor=white -valpos=b AAPL.d

Slide 25

Slide 25 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Value Color, Value Position Middle dchart -vcolor=white -valpos=m AAPL.d

Slide 26

Slide 26 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Value Color, Value Position Top dchart -vcolor=gray AAPL.d

Slide 27

Slide 27 text

AAPL Closing Price 166.4 2019-01-01 173.1 189.9 2019-03-01 200.7 175.1 2019-05-01 197.9 213.0 2019-07-01 208.7 224.0 2019-09-01 248.8 267.2 2019-11-01 293.6 Scaling dchart -xlabel=2 -left 30 -right 70 -top 70 -bottom 40 AAPL.d

Slide 28

Slide 28 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Color dchart -color gray AAPL.d

Slide 29

Slide 29 text

AAPL Closing Price 0 60 120 180 240 300 Target 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Target Line, Y-Axis dchart -hline=250,Target -yaxis AAPL.d

Slide 30

Slide 30 text

AAPL Closing Price 0 60 120 180 240 300 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Y-Axis, Grid dchart -grid -yaxis AAPL.d

Slide 31

Slide 31 text

AAPL Closing Price 0 25 50 75 100 125 150 175 200 225 250 275 300 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Y-Range dchart -yrange=0,300,25 -grid -yaxis AAPL.d

Slide 32

Slide 32 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Adjusting Bar Width dchart -barwidth=1 AAPL.d

Slide 33

Slide 33 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Dot Chart dchart -bar=f -dot AAPL.d

Slide 34

Slide 34 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Area Chart dchart -bar=f -vol AAPL.d

Slide 35

Slide 35 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Area Chart, Opacity dchart -bar=f -vol -volop=90 AAPL.d

Slide 36

Slide 36 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Line Chart dchart -bar=f -line AAPL.d

Slide 37

Slide 37 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Line Chart, Line Width dchart -bar=f -line -linewidth=0.5 AAPL.d

Slide 38

Slide 38 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Scatter Chart dchart -bar=f -scatter AAPL.d

Slide 39

Slide 39 text

AAPL Closing Price 2019-01-01 2019-02-01 2019-03-01 2019-04-01 2019-05-01 2019-06-01 2019-07-01 2019-08-01 2019-09-01 2019-10-01 2019-11-01 2019-12-01 Scatter Chart, No Values dchart -bar=f -scatter -val=f AAPL.d

Slide 40

Slide 40 text

AAPL Closing Price 2019-01-01 2019-02-01 2019-03-01 2019-04-01 2019-05-01 2019-06-01 2019-07-01 2019-08-01 2019-09-01 2019-10-01 2019-11-01 2019-12-01 Line Chart, No Values, Regression Line dchart -bar=f -line -val=f -rline AAPL.d

Slide 41

Slide 41 text

AAPL Closing Price 2019-01-01 2019-02-01 2019-03-01 2019-04-01 2019-05-01 2019-06-01 2019-07-01 2019-08-01 2019-09-01 2019-10-01 2019-11-01 2019-12-01 Line Chart, No Values, Regression Line Color dchart -bar=f -line -val=f -rline -rlcolor=orange AAPL.d

Slide 42

Slide 42 text

AAPL Closing Price 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Volume, Line, Dot dchart -bar=f -line -vol -dot AAPL.d

Slide 43

Slide 43 text

AAPL Closing Price 166.440 2019-01-01 173.150 2019-02-01 189.950 2019-03-01 200.670 2019-04-01 175.070 2019-05-01 197.920 2019-06-01 213.040 2019-07-01 208.740 2019-08-01 223.970 2019-09-01 248.760 2019-10-01 267.250 2019-11-01 293.650 2019-12-01 Dot, Line, Data Format dchart -datafmt %0.3f -bar=f -dot -line AAPL.d

Slide 44

Slide 44 text

AAPL Closing Price 0 60 120 180 240 300 166.4 2019-01-01 173.1 2019-02-01 189.9 2019-03-01 200.7 2019-04-01 175.1 2019-05-01 197.9 2019-06-01 213.0 2019-07-01 208.7 2019-08-01 224.0 2019-09-01 248.8 2019-10-01 267.2 2019-11-01 293.6 2019-12-01 Line, Area, Dot, Y-Axis, Grid dchart -bar=f -line -vol -dot -grid -yaxis AAPL.d

Slide 45

Slide 45 text

AAPL Closing Price 2019-01-01 166.4 2019-02-01 173.1 2019-03-01 189.9 2019-04-01 200.7 2019-05-01 175.1 2019-06-01 197.9 2019-07-01 213.0 2019-08-01 208.7 2019-09-01 224.0 2019-10-01 248.8 2019-11-01 267.2 2019-12-01 293.6 Horizontal Bar dchart -hbar AAPL.d

Slide 46

Slide 46 text

AAPL Closing Price 2019-01-01 166.4 (6.5%) 2019-02-01 173.1 (6.8%) 2019-03-01 189.9 (7.4%) 2019-04-01 200.7 (7.8%) 2019-05-01 175.1 (6.8%) 2019-06-01 197.9 (7.7%) 2019-07-01 213.0 (8.3%) 2019-08-01 208.7 (8.2%) 2019-09-01 224.0 (8.8%) 2019-10-01 248.8 (9.7%) 2019-11-01 267.2 (10.4%) 2019-12-01 293.6 (11.5%) Horizontal Bar, Show Percentages dchart -hbar -pct AAPL.d

Slide 47

Slide 47 text

AAPL Closing Price 2019-01-01 166.4 2019-02-01 173.1 2019-03-01 189.9 2019-04-01 200.7 2019-05-01 175.1 2019-06-01 197.9 2019-07-01 213.0 2019-08-01 208.7 2019-09-01 224.0 2019-10-01 248.8 2019-11-01 267.2 2019-12-01 293.6 Horizontal Bar, Line Spacing dchart -hbar -ls 1.5 AAPL.d

Slide 48

Slide 48 text

Browser Market Share Dec 2016-Dec 2017 Chrome 53.7 Safari 14.5 Other 9.4 UC 8.3 Firefox 6.2 IE 4.0 Opera 3.9 Word Bar dchart -wbar AAPL.d

Slide 49

Slide 49 text

Test Slope Graphs First one two 20 80 Second three four 0 0 Third five six 100 0 Fourth seven eight 0 100 Fifth nine ten 50 50 Sixth eleven twelve 100 100 Slope Chart dchart -left=10 -right=25 -top=80 -bottom=60 -slope slope.d

Slide 50

Slide 50 text

Chrome 53.7% Safari 14.5% Other 9.4% UC 8.3% Firefox 6.2% IE 4.0% Opera 3.9% Donut dchart -donut -color=std -pwidth=5 browser.d

Slide 51

Slide 51 text

Chrome 53.7% Safari 14.5% Other 9.4% UC 8.3% Firefox 6.2% IE 4.0% Opera 3.9% Pie dchart -donut -color=std -title=f -top=70 -pwidth=20 -psize=20 browser.d

Slide 52

Slide 52 text

Browser Market Share Dec 2016-Dec 2017 53.7 Chrome 53.7% 14.5 Safari 14.5% 9.4 Other 9.4% 8.3 UC 8.3% 6.2 Firefox 6.2% 4.0 IE 4.0% 3.9 Opera 3.9% Pmap dchart -pmap -pwidth=5 -textsize=1 browser.d

Slide 53

Slide 53 text

Browser Market Share Dec 2016-Dec 2017 53.7 Chrome 53.7% 14.5 Safari 14.5% 9.4 Other 9.4% 8.3 UC 8.3% 6.2 Firefox 6.2% 4.0 IE 4.0% 3.9 Opera 3.9% Pmap with Solid Colors dchart -pmap -pwidth=5 -textsize=1 -solidpmap browser.d

Slide 54

Slide 54 text

Browser Market Share Dec 2016-Dec 2017 53.7 Chrome 53.7% 14.5 Safari 14.5% 9.4 Other 9.4% 8.3 UC 8.3% 6.2 Firefox 6.2% 4.0 IE 4.0% 3.9 Opera 3.9% Pmap with Solid Colors, Length Threshold dchart -pmap -pwidth=5 -textsize=1 -solidpmap -pmlen=30 browser.d

Slide 55

Slide 55 text

US Incarceration Rate White (39%) Hispanic (19%) Black (40%) Other (2%) Pgrid dchart -left 35 -top 80 -ls 3 -pgrid -val=f incar.d

Slide 56

Slide 56 text

US Incarceration Rate White (39%) Hispanic (19%) Black (40%) Other (2%) Lego dchart -left 30 -top 80 -textsize 4 -lego incar.d

Slide 57

Slide 57 text

Count Of Things One 10 Two 20 Three 30 Four 40 Five 50 Six 60 Seven 70 Eight 80 Nine 90 Ten 100 Radial dchart -radial -psize=10 -pwidth=20 -top=55 -textsize=3 count.d

Slide 58

Slide 58 text

Clockwise twelve 12 one 1 two 2 three 3 four 4 five 5 six 6 seven 7 eight 8 nine 9 ten 10 eleven 11 Radial with Spokes dchart -radial -psize=5 -pwidth=20 -top=55 -textsize=3 -spokes clock.d

Slide 59

Slide 59 text

31.8% 23.8% 22.4% 5.7% 16.3% 41.4% 15.9% 21.3% 10.1% 11.3% Management Service Sales Construction Production Occupations of African-Americans and Whites (2019) Bowtie chart dchart -val=t -psize=20 -top=60 -bowtie occupation.d

Slide 60

Slide 60 text

Occupations of African-Americans and Whites (2019) 31.8% 23.8% 22.4% 5.7% 16.3% 11.3% 10.1% 21.3% 15.9% 41.4% Management Service Sales Construction Production Fan chart dchart -val=t -psize=20 -top=60 -fan occupation.d