layout的作用:
轉(zhuǎn)化數(shù)據(jù)格式簿盅,使其變?yōu)榭梢暬枰臄?shù)據(jù)格式。
d3中的layout分別有:
1.Bundle-----捆圖
2.Chord -----弦圖
3.Cluster-----集群圖
4.Force -----力學(xué)圖
5.Hierarchy-----層級(jí)圖(有層次關(guān)系的圖,不能直接使用症概,Cluster篙梢、Tree、Treemap逆航、Pack鼎文、Partition都屬于層級(jí)圖)
6.Histogram -----直方圖
7.Pack------打包圖
8.Partition -----分區(qū)圖
9.Pie -----餅圖
10.Stack-----堆棧圖
11.Tree -----樹狀圖
12.Treemap -----矩陣樹圖