js/d3.min.js_在5分钟内学习D3.js

js/d3.min.js

by Sohaib Nehal

通过Sohaib Nehal

在5分钟内学习D3.js (Learn D3.js in 5 minutes)

创建数据可视表示的简介 (An introduction to creating visual representations of your data)

D3.js is a JavaScript library used to manipulate documents based on data. It uses HTML, CSS, and SVG to create visual representations of data which can be viewed on any modern browser.

D3.js是一个JavaScript库,用于根据数据处理文档。 它使用HTML,CSS和SVG创建可以在任何现代浏览器上查看的数据的可视表示形式。

It also provides some awesome features for interactions and animations.

它还为交互和动画提供了一些很棒的功能。

In this tutorial, we will explore the basic concepts and features of D3.js. We’ll learn how to use it with the help of few examples like rendering a bar chart, rendering HTML and SVG elements, and applying transformations and events to them.

在本教程中,我们将探讨D3.js的基本概念和功能。 我们将在几个示例的帮助下学习如何使用它,例如渲染条形图,渲染HTML和SVG元素以及对其应用转换和事件。

We’ve also created a free 10-part course on D3.js on Scrimba. Check it out here.

我们还在Scrimba上的D3.js上创建了免费的10部分课程。 在这里查看。

D3入门 (Getting started with D3)

As D3.js is a JavaScript library, you can simply include it in your HTML file inside a script tag.

由于D3.js是JavaScript库,因此您只需将其包含在HTML文件中的script标签内即可。

<script src='https://d3js.org/d3.v4.min.js'><;/script>

The full source and tests are also available for download on GitHub.

完整的源代码和测试也可以在GitHub上下载

DOM选择 (DOM Selection)

Using D3.js, we can manipulate the Document Object Model (DOM), meaning we can select elements and apply various transformations on them.

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值