# D3: Data-Driven Documents
<a href="https://d3js.org"><img src="https://d3js.org/logo.svg" align="left" hspace="10" vspace="6"></a>
**D3** (or **D3.js**) is a JavaScript library for visualizing data using web standards. D3 helps you bring data to life using SVG, Canvas and HTML. D3 combines powerful visualization and interaction techniques with a data-driven approach to DOM manipulation, giving you the full capabilities of modern browsers and the freedom to design the right visual interface for your data.
## Resources
* [API Reference](https://github.com/d3/d3/blob/master/API.md)
* [Release Notes](https://github.com/d3/d3/releases)
* [Gallery](https://github.com/d3/d3/wiki/Gallery)
* [Examples](https://bl.ocks.org/mbostock)
* [Wiki](https://github.com/d3/d3/wiki)
## Installing
If you use npm, `npm install d3`. Otherwise, download the [latest release](https://github.com/d3/d3/releases/latest). The released bundle supports anonymous AMD, CommonJS, and vanilla environments. You can load directly from [d3js.org](https://d3js.org), [CDNJS](https://cdnjs.com/libraries/d3), or [unpkg](https://unpkg.com/d3/). For example:
```html
<script src="https://d3js.org/d3.v4.js"></script>
```
For the minified version:
```html
<script src="https://d3js.org/d3.v4.min.js"></script>
```
You can also use the standalone D3 microlibraries. For example, [d3-selection](https://github.com/d3/d3-selection):
```html
<script src="https://d3js.org/d3-selection.v1.js"></script>
```
D3 is written using [ES2015 modules](http://www.2ality.com/2014/09/es6-modules-final.html). Create a [custom bundle using Rollup](https://bl.ocks.org/mbostock/bb09af4c39c79cffcde4), Webpack, or your preferred bundler. To import D3 into an ES2015 application, either import specific symbols from specific D3 modules:
```js
import {scaleLinear} from "d3-scale";
```
Or import everything into a namespace (here, `d3`):
```js
import * as d3 from "d3";
```
In Node:
```js
var d3 = require("d3");
```
You can also require individual modules and combine them into a `d3` object using [Object.assign](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign):
```js
var d3 = Object.assign({}, require("d3-format"), require("d3-geo"), require("d3-geo-projection"));
```
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
精通D3 js第二版书籍源码 (269个子文件)
leaflet.css 13KB
leaflet.css 13KB
leaflet.css 13KB
leaflet.css 13KB
leaflet.css 13KB
d3-downloadable.css 793B
data.csv 136B
data.csv 136B
china.geojson 249KB
china.geojson 249KB
12-3-2-merge-split.html 8KB
12-3-3-combination.html 8KB
12-2-2-tooltip.html 7KB
12-2-1-focusLine.html 6KB
12-1-2-tooltip-style2.html 6KB
12-1-2-tooltip-style.html 6KB
12-5-1-switch.html 5KB
12-1-1-tooltip.html 5KB
12-3-1-pie-drag.html 4KB
10-3-2-chord-interactive.html 4KB
13-1-colorRange.html 4KB
10-6-1-histogram.html 4KB
index.html 4KB
10-2-2-drag-fixed.html 4KB
7-2-scatter-transition.html 4KB
4-8-2-update-data.html 4KB
10-5-1-bundle.html 4KB
6-8-1-lineChart.html 3KB
10-3-1-chord.html 3KB
10-2-1-force.html 3KB
13-3-2-sphere-line.html 3KB
13-3-1-arrow-line.html 3KB
13-2-2-night-light.html 3KB
13-5-2-force-directed-map.html 3KB
8-1-1-mouse.html 3KB
12-4-2-selectArea-scatter.html 3KB
10-1-pie.html 3KB
11-3-1-geopath.html 3KB
index.html 3KB
12-2-2-4-neighbors.html 2KB
13-2-1-mark-place.html 2KB
12-2-2-2-merge.html 2KB
index.html 2KB
5-4-1-scatter.html 2KB
13-5-1-voronoi.html 2KB
13-4-2-globe-drag-scale.html 2KB
13-4-1-plane-drag-scale.html 2KB
12-2-2-3-mesh.html 2KB
index.html 2KB
11-3-2-2-grid-china.html 2KB
index.html 2KB
4-8-1-rect-text.html 2KB
index.html 2KB
10-4-1-tree.html 2KB
11-4-4-clip-right.html 2KB
11-4-3-mark-washington.html 2KB
index.html 2KB
index.html 2KB
11-2-2-1-TopoJSON-chinamap.html 2KB
index.html 2KB
8-3-1-drag.html 2KB
index.html 2KB
8-3-4-scale2.html 2KB
13-5-1-triangulation.html 2KB
index.html 2KB
8-3-2-drag.origin.html 2KB
11-4-1-set-beijing.html 2KB
8-1-2-keyboard.html 2KB
index.html 2KB
6-4-2-makePie.html 2KB
11-2-1-GeoJSON-chinamap.html 2KB
11-4-2-set-london.html 2KB
5-3-2-degree.html 2KB
11-3-2-4-sphere-grid.html 2KB
10-7-1-treemap.html 2KB
index.html 2KB
11-3-2-3-circle-grid.html 2KB
index.html 1KB
index.html 1KB
index.html 1KB
2-6-3-1-basicShape.html 1KB
12-4-1-selectArea.html 1KB
11-3-2-1-grid-world.html 1KB
6-5-1-symbolGenerator.html 1KB
7-1-2-3-text-tween.html 1KB
8-1-3-touch.html 1KB
index.html 1KB
8-3-3-scale.html 1KB
7-1-4-1-transition-each.html 1KB
11-4-5-rotate.html 1KB
5-3-3-manyAxes.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
5-2-2-colorScale.html 1KB
7-1-4-2-transition-call.html 1KB
7-1-3-childElement.html 1KB
6-2-3-defined.html 1KB
index.html 1KB
5-1-3-quantizeScale.html 1KB
共 269 条
- 1
- 2
- 3
资源评论
- leaez2018-11-12可以使用哦
- honghuanglan2020-01-08只有源码,没有书籍。 但是标题不是书籍源码吗? 明显误导。
yang_zhi_xiang
- 粉丝: 52
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- NetOps-py通过sftp替换网络设备启动文件
- STM32单片机FPGA毕设电路原理论文报告任务驱动教学法在单片机课程教学中的应用
- STM32单片机FPGA毕设电路原理论文报告任务驱动法在单片机教学中的应用
- STM32单片机FPGA毕设电路原理论文报告人造金刚石压机智能化压力测控系统设计
- 以某列为依据匹配多项(Excel版)
- STM32单片机FPGA毕设电路原理论文报告人体短臂离心机实验台的显示控制系统
- STM32单片机FPGA毕设电路原理论文报告人工气候室监控系统的环境控制器研究
- STM32单片机FPGA毕设电路原理论文报告染整自动线张力控制系统的设计
- 数据挖掘与机器学习-实验
- 基于Linux系统Nginx的动态网站的LNMP环境源码包
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功