实例介绍
精通D3 js:交互式数据可视化高级编程书籍源码
【实例截图】
【核心代码】
d3src-u-第二版
└── d3src
├── chapter10
│ ├── 10.1
│ │ └── 10-1-pie.html
│ ├── 10.2
│ │ ├── 10-2-1-force.html
│ │ └── 10-2-2-drag-fixed.html
│ ├── 10.3
│ │ ├── 10-3-1-chord.html
│ │ └── 10-3-2-chord-interactive.html
│ ├── 10.4
│ │ ├── 10-4-1-tree.html
│ │ └── city.json
│ ├── 10.5
│ │ └── 10-5-1-bundle.html
│ ├── 10.6
│ │ └── 10-6-1-histogram.html
│ └── 10.7
│ ├── 10-7-1-treemap.html
│ └── citygdp.json
├── chapter11
│ ├── 11.2
│ │ ├── 11.2.1
│ │ │ ├── 11-2-1-GeoJSON-chinamap.html
│ │ │ ├── china.geojson
│ │ │ └── southchinasea.svg
│ │ └── 11.2.2
│ │ ├── 11.2.2.1
│ │ │ ├── 11-2-2-1-TopoJSON-chinamap.html
│ │ │ ├── china.topojson
│ │ │ └── southchinasea.svg
│ │ ├── 11.2.2.2
│ │ │ ├── 12-2-2-2-merge.html
│ │ │ ├── china.topojson
│ │ │ └── southchinasea.svg
│ │ ├── 11.2.2.3
│ │ │ ├── 12-2-2-3-mesh.html
│ │ │ ├── china.topojson
│ │ │ └── southchinasea.svg
│ │ └── 11.2.2.4
│ │ ├── 12-2-2-4-neighbors.html
│ │ ├── china.topojson
│ │ └── southchinasea.svg
│ ├── 11.3
│ │ ├── 11.3.1
│ │ │ ├── 11-3-1-geopath.html
│ │ │ ├── china.topojson
│ │ │ └── southchinasea.svg
│ │ └── 11.3.2
│ │ ├── 11-3-2-1-grid-world.html
│ │ ├── 11-3-2-2-grid-china.html
│ │ ├── 11-3-2-3-circle-grid.html
│ │ ├── 11-3-2-4-sphere-grid.html
│ │ ├── china.topojson
│ │ ├── southchinasea.svg
│ │ └── world_605kb.json
│ └── 11.4
│ ├── 11-4-1-set-beijing.html
│ ├── 11-4-2-set-london.html
│ ├── 11-4-3-mark-washington.html
│ ├── 11-4-4-clip-right.html
│ ├── 11-4-5-rotate.html
│ └── world_605kb.json
├── chapter12
│ ├── 12.1
│ │ ├── 12-1-1-tooltip.html
│ │ ├── 12-1-2-tooltip-style2.html
│ │ └── 12-1-2-tooltip-style.html
│ ├── 12.2
│ │ ├── 12-2-1-focusLine.html
│ │ └── 12-2-2-tooltip.html
│ ├── 12.3
│ │ ├── 12-3-1-pie-drag.html
│ │ ├── 12-3-2-merge-split.html
│ │ └── 12-3-3-combination.html
│ ├── 12.4
│ │ ├── 12-4-1-selectArea.html
│ │ └── 12-4-2-selectArea-scatter.html
│ └── 12.5
│ ├── 12-5-1-switch.html
│ └── learn.json
├── chapter13
│ ├── 13.1
│ │ ├── 13-1-colorRange.html
│ │ ├── china.topojson
│ │ ├── southchinasea.svg
│ │ └── tourism.json
│ ├── 13.2
│ │ ├── 13-2-1-mark-place.html
│ │ ├── 13-2-2-night-light.html
│ │ ├── china.topojson
│ │ ├── cities.json
│ │ ├── img
│ │ │ ├── beijing.png
│ │ │ ├── guilin.png
│ │ │ ├── lasa.png
│ │ │ ├── shanghai.png
│ │ │ └── wulumuqi.png
│ │ ├── places.json
│ │ └── southchinasea.svg
│ ├── 13.3
│ │ ├── 13-3-1-arrow-line.html
│ │ ├── 13-3-2-sphere-line.html
│ │ ├── china.topojson
│ │ ├── southchinasea.svg
│ │ └── world_605kb.json
│ ├── 13.4
│ │ ├── 13-4-1-plane-drag-scale.html
│ │ ├── 13-4-2-globe-drag-scale.html
│ │ └── world.json
│ └── 13.5
│ ├── 13-5-1-triangulation.html
│ ├── 13-5-1-voronoi.html
│ ├── 13-5-2-force-directed-map.html
│ └── china.geojson
├── chapter15
│ ├── 010_最少的代码制作力导向图
│ │ └── index.html
│ ├── 020_重力
│ │ └── index.html
│ ├── 030_弹性力
│ │ └── index.html
│ ├── 040_万有引力
│ │ └── index.html
│ ├── 050_碰撞力
│ │ └── index.html
│ ├── 060_理解Alpha
│ │ └── index.html
│ ├── 070_前进和停止
│ │ └── index.html
│ ├── 080_为canvas添加拖放事件
│ │ └── index.html
│ ├── 090_完整的力导向图
│ │ └── index.html
│ ├── 100_配色模板
│ │ └── index.html
│ ├── 110_d3-color
│ │ └── index.html
│ ├── 120_线段生成器的版本差异
│ │ └── index.html
│ ├── 130_折线图和线段生成器
│ │ └── index.html
│ ├── 140_对角线生成器
│ │ └── index.html
│ ├── 150_更简单的坐标轴
│ │ └── index.html
│ ├── 160_堆栈图的数据结构
│ │ └── index.html
│ ├── 170_从思维导图来探究d3-hierarchy
│ │ ├── data.csv
│ │ └── index.html
│ ├── 171_节点的最短路径
│ │ ├── data.csv
│ │ └── index.html
│ ├── 180_打包图
│ │ └── index.html
│ ├── 190_单元素的无限过渡
│ │ └── index.html
│ └── 200_多元素的无限过渡
│ └── index.html
├── chapter16
│ ├── 010_描边和填充
│ │ ├── data
│ │ │ ├── china.topojson
│ │ │ ├── southchinasea_black.png
│ │ │ ├── southchinasea.svg
│ │ │ └── southchinasea_white.png
│ │ ├── index.html
│ │ └── js
│ │ └── topojson.js
│ ├── 020_选择区域
│ │ ├── data
│ │ │ ├── china.topojson
│ │ │ ├── southchinasea_black.png
│ │ │ ├── southchinasea.svg
│ │ │ └── southchinasea_white.png
│ │ ├── index.html
│ │ └── js
│ │ └── topojson.js
│ ├── 030_拖动和缩放
│ │ ├── data
│ │ │ ├── china.topojson
│ │ │ ├── southchinasea_black.png
│ │ │ ├── southchinasea.svg
│ │ │ └── southchinasea_white.png
│ │ ├── index.html
│ │ └── js
│ │ └── topojson.js
│ ├── 040_Canvas的流星效果
│ │ └── index.html
│ ├── 050_地图上飞舞的流星
│ │ ├── data
│ │ │ ├── china.topojson
│ │ │ ├── southchinasea_black.png
│ │ │ ├── southchinasea.svg
│ │ │ ├── southchinasea_white.png
│ │ │ └── southchinasea_yellow.png
│ │ ├── index.html
│ │ └── js
│ │ └── topojson.js
│ ├── 060_形状生成器
│ │ ├── data
│ │ │ └── world_map.json
│ │ ├── index.html
│ │ └── js
│ │ └── topojson.js
│ ├── 070_球体地图的旋转和缩放
│ │ ├── data
│ │ │ ├── world_map_31kb.json
│ │ │ ├── world_map_386kb.json
│ │ │ ├── world_map_98kb.json
│ │ │ └── world_map_origin.json
│ │ ├── index.html
│ │ └── js
│ │ └── topojson.js
│ └── 080_Leaflet和D3
│ ├── 1_载入地图
│ │ ├── images
│ │ │ ├── layers-2x.png
│ │ │ ├── layers.png
│ │ │ ├── marker-icon-2x.png
│ │ │ ├── marker-icon.png
│ │ │ └── marker-shadow.png
│ │ ├── index.html
│ │ ├── leaflet.css
│ │ └── leaflet.js
│ ├── 2_读入TopoJSON地图
│ │ ├── china.topojson
│ │ ├── images
│ │ │ ├── layers-2x.png
│ │ │ ├── layers.png
│ │ │ ├── marker-icon-2x.png
│ │ │ ├── marker-icon.png
│ │ │ └── marker-shadow.png
│ │ ├── index.html
│ │ ├── leaflet.css
│ │ ├── leaflet.js
│ │ └── topojson.js
│ ├── 3_加入标注
│ │ ├── images
│ │ │ ├── layers-2x.png
│ │ │ ├── layers.png
│ │ │ ├── marker-icon-2x.png
│ │ │ ├── marker-icon.png
│ │ │ └── marker-shadow.png
│ │ ├── index.html
│ │ ├── leaflet.css
│ │ └── leaflet.js
│ ├── 4_添加SVG在地图上
│ │ ├── china.topojson
│ │ ├── images
│ │ │ ├── layers-2x.png
│ │ │ ├── layers.png
│ │ │ ├── marker-icon-2x.png
│ │ │ ├── marker-icon.png
│ │ │ └── marker-shadow.png
│ │ ├── index.html
│ │ ├── leaflet.css
│ │ ├── leaflet.js
│ │ └── topojson.js
│ └── 5_添加Canvas在地图上
│ ├── china.topojson
│ ├── images
│ │ ├── layers-2x.png
│ │ ├── layers.png
│ │ ├── marker-icon-2x.png
│ │ ├── marker-icon.png
│ │ └── marker-shadow.png
│ ├── index.html
│ ├── leaflet.css
│ ├── leaflet.js
│ └── topojson.js
├── chapter2
│ ├── 2.5
│ │ ├── 2-5-2-1-rect.svg
│ │ ├── 2-5-2-2-circle.svg
│ │ ├── 2-5-2-3-line.svg
│ │ ├── 2-5-2-4-polygon.svg
│ │ ├── 2-5-2-5-path.svg
│ │ ├── 2-5-2-6-bezier3.svg
│ │ ├── 2-5-2-7-bezier2.svg
│ │ ├── 2-5-2-8-arc.svg
│ │ ├── 2-5-3-1-text.svg
│ │ ├── 2-5-5-1-marker.svg
│ │ ├── 2-5-6-1-blur.svg
│ │ └── 2-5-7-1-gradient.svg
│ └── 2.6
│ ├── 2-6-3-1-basicShape.html
│ ├── 2-6-4-1-filltext.html
│ ├── 2-6-5-1-transform.html
│ ├── 2-6-6-1-image.html
│ ├── 2-6-7-1-gradient.html
│ └── d3icon.png
├── chapter4
│ └── 4.8
│ ├── 4-8-1-rect-text.html
│ └── 4-8-2-update-data.html
├── chapter5
│ ├── 5.1
│ │ ├── 5-1-1-linearScale.html
│ │ ├── 5-1-2-powScale.html
│ │ ├── 5-1-3-quantizeScale.html
│ │ └── 5-1-4-thresholdScale.html
│ ├── 5.2
│ │ ├── 5-2-1-ordinalScale.html
│ │ └── 5-2-2-colorScale.html
│ ├── 5.3
│ │ ├── 5-3-1-drawAxis.html
│ │ ├── 5-3-2-degree.html
│ │ └── 5-3-3-manyAxes.html
│ └── 5.4
│ └── 5-4-1-scatter.html
├── chapter6
│ ├── 6.1
│ │ ├── 6-1-1-RGB.html
│ │ ├── 6-1-2-HSL.html
│ │ └── 6-1-3-interpolation.html
│ ├── 6.2
│ │ ├── 6-2-1-lineGenerator.html
│ │ ├── 6-2-2-accessor.html
│ │ └── 6-2-3-defined.html
│ ├── 6.3
│ │ └── 6-3-1-areaGenerator.html
│ ├── 6.4
│ │ ├── 6-4-1-arcGenerator.html
│ │ └── 6-4-2-makePie.html
│ ├── 6.5
│ │ └── 6-5-1-symbolGenerator.html
│ ├── 6.6
│ │ └── 6-6-1-chordGenerator.html
│ ├── 6.7
│ │ ├── 6-7-1-diagonalGenerator.html
│ │ └── 6-7-2-projection.html
│ └── 6.8
│ └── 6-8-1-lineChart.html
├── chapter7
│ ├── 7.1
│ │ ├── 7-1-1-1-rectTransition.html
│ │ ├── 7-1-1-2-transitionObj.html
│ │ ├── 7-1-1-3-duration-delay.html
│ │ ├── 7-1-1-4-someTimes.html
│ │ ├── 7-1-2-1-attr-attrTween.html
│ │ ├── 7-1-2-2-style-styleTween.html
│ │ ├── 7-1-2-3-text-tween.html
│ │ ├── 7-1-3-childElement.html
│ │ ├── 7-1-4-1-transition-each.html
│ │ ├── 7-1-4-2-transition-call.html
│ │ └── 7-1-5-ease.html
│ └── 7.2
│ └── 7-2-scatter-transition.html
├── chapter8
│ ├── 8.1
│ │ ├── 8-1-1-mouse.html
│ │ ├── 8-1-2-keyboard.html
│ │ └── 8-1-3-touch.html
│ ├── 8.2
│ │ └── 8-2-1-d3.event.html
│ └── 8.3
│ ├── 8-3-1-drag.html
│ ├── 8-3-2-drag.origin.html
│ ├── 8-3-3-scale.html
│ └── 8-3-4-scale2.html
├── chapter9
│ ├── 9.1
│ │ ├── 9-1-1-readjson.html
│ │ ├── 9-1-3-readxml.html
│ │ ├── 9-1-4-readtext.html
│ │ ├── city.json
│ │ ├── example.xml
│ │ └── note.txt
│ └── 9.2
│ ├── 9-2-1-d3-downloadable.html
│ ├── d3-downloadable
│ │ ├── d3-downloadable.css
│ │ └── d3-downloadable.js
│ └── d3.min.js
└── d3
├── 3.x
│ ├── d3.js
│ ├── d3.min.js
│ ├── LICENSE
│ └── topojson.js
└── 4.x
├── API.md
├── CHANGES.md
├── d3.js
├── d3.min.js
├── LICENSE
└── README.md
120 directories, 269 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论