- Visualizes relational information
- Weighted/unweighted, directional/bidirectional
- Applications
- Social networks
- Biological networks (genetic)
- Computer networks
- Railway/bus networks
- …
Treemaps, Circle packing and Sunburst diagrams
Example: World population
Example: Hierarchy for Flare ActionScript Library
Example: Hierarchy for Flare ActionScript Library
Layout has great impact (influences understanding a lot)
Different layouts proposed
Example: Network of hyperlinks and mentions among news sources
Analysis:
Example: Community detection based on edge betweeness
igraph: rich functionality, poor graphicsvisNetwork: interactive graph visualization, can use igraph objectsggraph: static graphs, based on the grammar of graphics, can use igraphggnet2 in GGally: static graphsigraph/visNetwork/ggraph:
Life expectancy set
Limited amount of timepoints
Smooth transition is desired
For each aesthetics \(x\), consider interpolation \(x'(t)\)
Inserting intermediate values:
frame aesthetics
Example: power function
library(plotly)
m=matrix(nrow=0,ncol=3)
for (a in seq(0,3,by=0.03)) {
x<-seq(0,2,0.01)
y<-x^a
m<-rbind(m,cbind(x,y,a))
}
df=as.data.frame(m)
plot_ly(df, x=~x, y=~y, frame =~a)%>%add_lines()%>%animation_opts(
100, easing = "cubic", redraw = F
)
Example: power function
##2D-tours
Data matrix \(X=[n \times p]\)
Projection matrix \(A=[p \times d]\), \(d=2\)
Projected data \(Z=X\cdot A\)
Example: \(X=\left( \begin{matrix} 2 & 4 &3\\ 6 & 2 & 1\\ 2 & 9 & 9 \end{matrix} \right)\), \(A=\left( \begin{matrix} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{matrix} \right)\)
- Various PP indices: Holes, central mass,…
Algorithm: