visualizing the supply chain

82
Visualizing the Supply Chain Bay Area R Users’ Group 2011.12.13 Anthony Sabbadini [email protected]

Upload: leoma

Post on 10-Feb-2016

18 views

Category:

Documents


0 download

DESCRIPTION

Visualizing the Supply Chain. Bay Area R Users’ Group 2011.12.13 Anthony Sabbadini [email protected]. Outline. 1. Flow C harts 2. Transportation M aps 3. M ashups. 1. Flow Charts. Keeping Track of Parts is Important. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Visualizing the Supply Chain

Visualizing the Supply Chain

Bay Area R Users’ Group2011.12.13

Anthony [email protected]

Page 2: Visualizing the Supply Chain

Outline

• 1. Flow Charts• 2. Transportation Maps• 3. Mashups

Page 3: Visualizing the Supply Chain

1. Flow Charts

Page 4: Visualizing the Supply Chain

Keeping Track of Parts is Important

Page 5: Visualizing the Supply Chain

This was especially important where I used to Work

Page 6: Visualizing the Supply Chain

Flow Charts can Help

Page 7: Visualizing the Supply Chain

Flow Charts with ‘diagram’

library(diagram)names <- c("Chicago", "Detroit", "Fremont", "LA", "Memphis", "San Antonio", "Tijuana")M <- matrix(nrow = 7, ncol = 7, byrow = TRUE, data = c(# ch de fr la me sa ti 0, 1, 0, 0, 0, 0, 0, #ch 0, 0, 0, 0, 0, 0, 0, #de 1, 0, 0, 1, 1, 1, 1, #fr 1, 0, 0, 0, 1, 0, 0, #la 0, 0, 0, 0, 0, 0, 0, #me 0, 0, 0, 0, 0, 0, 0, #sa 0, 0, 1, 1, 0, 1, 0 #ti))png(’nummi.png')pp <- plotmat(M, pos = c(1,3,2,1), curve = 0.1, name = names,lwd = 1, box.lwd = 2, cex.txt = 0.8,box.type = "square", box.prop = 0.5, arr.type = "triangle",arr.pos = 0.4, shadow.size = 0.00, prefix = "f",main = "NUMMI network")dev.off()

Page 8: Visualizing the Supply Chain

NUMMI factory network

Page 9: Visualizing the Supply Chain

2. Transportation Maps

Page 10: Visualizing the Supply Chain
Page 11: Visualizing the Supply Chain

Interstate Commerce

source: http://ops.fhwa.dot.gov/freight/freight_analysis/faf/index.htm

Shipments from California (2007)

Page 12: Visualizing the Supply Chain

Spoke Networks with ‘geosphere’library(maps)library(geosphere)

# Unique transportation modesmodes <- unique(california$DMODE_MEANING)

# Colorpal <- colorRampPalette(c("#333333", "white", "#1292db"))colors <- pal(100)

# Cycle through the transportation modesfor (i in 1:length(modes)) {

pdf(paste("value_mode", modes[i], ".pdf", sep=""), width=11, height=7)map("world", col="#191919", fill=TRUE, bg="#000000", lwd=0.05, xlim=xlim, ylim=ylim)

csub <- california[california$DMODE_MEANING == modes[i],]csub <- csub[order(csub$Value..mil.),]maxcnt <- max(csub$Value..mil.)for (j in 1:length(csub$GEOGRAPHY)) {

arc <- csub[j,]inter <- gcIntermediate(c(arc[1,]$Long_origin, arc[1,]$Lat_origin), c(arc[1,]$Long_dest, arc[1,]$Lat_dest), n=100, addStartEnd=TRUE)colindex <- round( (arc[1,]$Value..mil. / maxcnt) * length(colors) )lines(inter, col=colors[colindex], lwd=0.6)

}

dev.off()

}

Page 13: Visualizing the Supply Chain

Truck shipments ($)

Page 14: Visualizing the Supply Chain

Rail ($)

Page 15: Visualizing the Supply Chain

Air ($)

Page 16: Visualizing the Supply Chain

All ($)

Page 17: Visualizing the Supply Chain

3. Mashups

Page 18: Visualizing the Supply Chain

Extreme Weather (NYT)

Page 19: Visualizing the Supply Chain

Tornado Data (NOAA)

Page 20: Visualizing the Supply Chain

Tornados in 1999 (by property damage $)

Page 21: Visualizing the Supply Chain

Truck & Rail Shipments+ Tornados

[time lapse: 1950-2010]

+

Page 22: Visualizing the Supply Chain

1950

Page 23: Visualizing the Supply Chain
Page 24: Visualizing the Supply Chain
Page 25: Visualizing the Supply Chain
Page 26: Visualizing the Supply Chain
Page 27: Visualizing the Supply Chain
Page 28: Visualizing the Supply Chain
Page 29: Visualizing the Supply Chain
Page 30: Visualizing the Supply Chain
Page 31: Visualizing the Supply Chain
Page 32: Visualizing the Supply Chain
Page 33: Visualizing the Supply Chain
Page 34: Visualizing the Supply Chain
Page 35: Visualizing the Supply Chain
Page 36: Visualizing the Supply Chain
Page 37: Visualizing the Supply Chain
Page 38: Visualizing the Supply Chain
Page 39: Visualizing the Supply Chain
Page 40: Visualizing the Supply Chain
Page 41: Visualizing the Supply Chain
Page 42: Visualizing the Supply Chain
Page 43: Visualizing the Supply Chain
Page 44: Visualizing the Supply Chain
Page 45: Visualizing the Supply Chain
Page 46: Visualizing the Supply Chain
Page 47: Visualizing the Supply Chain
Page 48: Visualizing the Supply Chain
Page 49: Visualizing the Supply Chain
Page 50: Visualizing the Supply Chain
Page 51: Visualizing the Supply Chain
Page 52: Visualizing the Supply Chain
Page 53: Visualizing the Supply Chain
Page 54: Visualizing the Supply Chain
Page 55: Visualizing the Supply Chain
Page 56: Visualizing the Supply Chain
Page 57: Visualizing the Supply Chain
Page 58: Visualizing the Supply Chain
Page 59: Visualizing the Supply Chain
Page 60: Visualizing the Supply Chain
Page 61: Visualizing the Supply Chain
Page 62: Visualizing the Supply Chain
Page 63: Visualizing the Supply Chain
Page 64: Visualizing the Supply Chain
Page 65: Visualizing the Supply Chain
Page 66: Visualizing the Supply Chain
Page 67: Visualizing the Supply Chain
Page 68: Visualizing the Supply Chain
Page 69: Visualizing the Supply Chain
Page 70: Visualizing the Supply Chain
Page 71: Visualizing the Supply Chain
Page 72: Visualizing the Supply Chain
Page 73: Visualizing the Supply Chain
Page 74: Visualizing the Supply Chain
Page 75: Visualizing the Supply Chain
Page 76: Visualizing the Supply Chain
Page 77: Visualizing the Supply Chain
Page 78: Visualizing the Supply Chain
Page 79: Visualizing the Supply Chain
Page 80: Visualizing the Supply Chain
Page 81: Visualizing the Supply Chain
Page 82: Visualizing the Supply Chain

2010