{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

精通D3.js:交互式数据可视化高级编程

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

精通D3.js:交互式数据可视化高级编程

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

精通D3.js:交互式数据可视化高级编程》全面介绍了D3.js,是比较系统完整的教程。由浅入深,既有基础入门知识,又有相对深入的内容。图文并茂,语言流畅,讲解清晰易懂

Content Description

本书以当前流行的数据可视化技术D3.js为主要内容,分为三大部分,共计13章。第一部分讲述基础知识,第二部分学习制作各种常见图表,第三部分讲解交互式图表及地图的进阶应用。本书是一个相对完整的D3.js教程,讲解此技术所有重要的知识点,既有基础入门知识,又有相对深入的内容。笔者秉持以下原则:由易到难,循序渐进,图文并茂,清晰易懂。

Author Description

吕之华,广西桂林人,1989年生。2012年毕业于西北农林科技大学软件工程专业,同年获日本政府国家奖学金赴日,就读于日本岩手大学设计与媒体专业,2015年获得硕士学位。目前正攻读博士学位。
2014年与好友创办OUR D3.JS数据可视化专题站,以D3.js为题发表一系列教学文章,获得读者好评。本书即以专题站的文章为基础扩充而成,经过耐心地归纳、整理、调查、修补,内容更加丰富易懂。
作者喜读儒家经典、三国演义等中国古籍,喜看古装剧,热爱中华传统文化。闲暇时练习书法,养气修身。工作之余喜欢旅游、健身、游泳。不喜与人相争,近来潜心研读儒佛道三家学说。

Comments

大数据时代需要可视化工具,D3是世界最流行的可视化函数库。《精通D3.js》手把手教你学会D3,从零讲起直到高级应用,既是教程,又可作为参考手册,查阅D3各种方法的用法。内容图文并茂,示例丰富,帮助你轻松生成各种漂亮图形。

——阮一峰


Catalogue

第1章 D3简介 1
1.1 D3是什么 1
1.1.1 D3简史 2
1.1.2 D3的优势 2
1.1.3 D3的适用范围 3
1.2 数据可视化是什么 3
1.2.1 目的 4
1.2.2 构成要素 4
1.2.3 相关概念 6
1.3 图表种类 6
1.4 学习方法 11
第2章 Web前端开发基础 13
2.1 浏览器和服务器 14
2.1.1 浏览器 14
2.1.2 服务器 15
2.2 HTML&CSS 16
2.2.1 HTML元素 17
2.2.2 CSS选择器 20
2.2.3 综合运用 23
2.3 JavaScript 25
2.3.1 在HTML中使用JavaScript 26
2.3.2 语法 26
2.3.3 变量 27
2.3.4 数据类型 28
2.3.5 操作符 30
2.3.6 语句 32
2.3.7 函数 34
2.3.8 对象 34
2.3.9 数组 35
2.4 DOM 36
2.4.1 结构 37
2.4.2 访问和修改HTML元素 37
2.4.3 添加和删除节点 38
2.4.4 事件 39
2.5 SVG 40
2.5.1 位图和矢量图 40
2.5.2 图形元素 41
2.5.3 文字 46
2.5.4 样式 47
2.5.5 标记 48
2.5.6 滤镜 50
2.5.7 渐变 51
第3章 安装和使用 53
3.1 安装 53
3.1.1 下载文件 54
3.1.2 网络引用 54
3.2 搭建服务器 54
3.3 HELLO, WORLD 57
3.4 绘制矢量图 58
3.5 调试 59
第4章 选择集与数据 61
4.1 选择元素 61
4.2 选择集 63
4.2.1 查看状态 63
4.2.2 设定和获取属性 63
4.3 添加、插入和删除 66
4.4 数据绑定 67
4.4.1 datum()的工作过程 68
4.4.2 data()的工作过程 71
4.4.3 绑定的顺序 74
4.5 选择集的处理 76
4.5.1 enter的处理方法 76
4.5.2 exit的处理方法 77
4.5.3 处理模板 78
4.5.4 过滤器 79
4.5.5 选择集的顺序 79
4.5.6 each()的应用 80
4.5.7 call()的应用 80
4.6 数组的处理 81
4.6.1 排序 81
4.6.2 求值 82
4.6.3 操作数组 86
4.6.4 映射(Map) 89
4.6.5 集合(Set) 91
4.6.6 嵌套结构(Nest) 92
4.7 柱形图的制作 96
4.7.1 矩形和文字 97
4.7.2 更新数据 101
第5章 比例尺和坐标轴 105
5.1 定量比例尺 105
5.1.1 线性比例尺 106
5.1.2 指数和对数比例尺 109
5.1.3 量子和分位比例尺 110
5.1.4 阈值比例尺 112
5.2 序数比例尺 113
5.3 坐标轴 118
5.3.1 绘制方法 119
5.3.2 刻度 121
5.3.3 各比例尺的坐标轴 122
5.4 柱形图的坐标轴 123
5.5 散点图的制作 125
第6章 绘制 128
6.1 颜色 128
6.1.1 RGB 129
6.1.2 HSL 130
6.1.3 插值 131
6.2 线段生成器 132
6.3 区域生成器 136
6.4 弧生成器 137
6.5 符号生成器 140
6.6 弦生成器 142
6.7 对角线生成器 144
6.8 折线图的制作 145
第7章 动画 151
7.1 过渡效果 151
7.1.1 过渡的启动 152
7.1.2 过渡的属性 155
7.1.3 子元素 158
7.1.4 each()和call() 160
7.1.5 过渡样式 162
7.2 定时器 163
7.2.1 setInterval和setTimeout 163
7.2.2 d3.timer 164
7.3 应用过渡的场合 165
7.4 简单的动画制作 171
7.4.1 时钟 171
7.4.2 小球运动 172
第8章 交互 174
8.1 交互式入门 174
8.1.1 鼠标 176
8.1.2 键盘 178
8.1.3 触屏 180
8.2 事件 182
8.3 行为 183
8.3.1 拖曳 184
8.3.2 缩放 186
第9章 导入和导出 191
9.1 文件导入 191
9.1.1 JSON 192
9.1.2 CSV 194
9.1.3 XML 198
9.1.4 TEXT 199
9.2 文件导出 200
9.2.1 导出为SVG文件 200
9.2.2 编辑矢量图 203
第10章 布局 206
10.1 布局是什么 206
10.2 饼状图 207
10.3 力导向图 213
10.4 弦图 221
10.5 树状图 228
10.6 集群图 234
10.7 捆图 238
10.8 打包图 245
10.9 直方图 248
10.10 分区图 255
10.11 堆栈图 261
10.12 矩阵树图 268
第11章 地图 274
11.1 地图的数据 274
11.1.1 获取数据 275
11.1.2 简化数据 278
11.1.3 GeoJSON 280
11.1.4 TopoJSON 284
11.2 中国地图 285
11.2.1 基于GeoJSON 285
11.2.2 基于TopoJSON 289
11.3 地理路径 297
11.3.1 地理路径生成器 297
11.3.2 形状生成器 301
11.4 投影 306
11.5 球面数学 315
第12章 友好的交互 317
12.1 提示框 317
12.1.1 饼状图的提示框 318
12.1.2 提示框的样式 321
12.2 坐标系中的焦点 323
12.2.1 折线图的焦点 323
12.2.2 为折线图添加提示框 329
12.3 元素组合 334
12.3.1 饼状图的拖曳 335
12.3.2 移入和移出 336
12.3.3 合并 345
12.4 区域选择 347
12.4.1 在SVG画板里选择一块区域 348
12.4.2 散点图的区域选择 350
12.5 开关 353
12.5.1 思维导图的构造思路 353
12.5.2 思维导图的制作 356
第13章 地图进阶 363
13.1 值域的颜色 363
13.2 标注 368
13.2.1 标注地点 368
13.2.2 夜光图 370
13.3 标线 373
13.3.1 带有箭头的标线 373
13.3.2 球状地图的标线 377
13.4 拖动和缩放 378
13.4.1 平面地图 378
13.4.2 球面地图 381
13.5 力导向地图 383
13.5.1 Voronoi图和Delaunay三角剖分 383
13.5.2 力导向的中国地图 387
附录A 彩色插图 393
附录B 参考文献 410

Introduction

D3(Data-Driven Documents)是一个用于数据可视化开发的JavaScript 库,项目托管于GitHub。GitHub是全世界最流行的代码托管平台,云集了来自世界各地的优秀工程师。D3自诞生以来,不断受到好评,其排名在GitHub的项目仓库排行榜上也不断上升。D3是用于制作可视化图表的,本书以学习此类库的使用为主要目的,不会涉及过多数据可视化的知识。另外,由于数据可视化图表本身就是很直观的东西,如无特殊目的不一定需要深入学习,读者大可放心。

本书适合有一定编程基础的人阅读。对于有JavaScript 编程基础的程序员来说,阅读本书比较轻松。JavaScript 在语法上与C/C++Java等语言有很多相似之处,熟悉这些语言的读者能很快掌握JavaScript。没有JavaScript 基础也没关系,本书第2 章讲述了必要的知识,足够学习D3了。

本书由浅入深,分为以下三大部分。

一、基础知识

1 章到第9 章,包括D3 简介、Web 前端基础、选择集、数据绑定、比例尺、生成器等内容。

二、常用图表的制作

10章和第11章,主要内容是“布局”的使用和绘制地图。

三、深度应用

12章和第13 章,讲解交互式图表的设计方法,以及基于地图的可视化方法。

通过学习本书,相信读者能在辅以查询API的情况下完成绝大部分数据可视化的工作。笔者尽可能使语言简单易懂,希望能让读者不必埋头盯着几句话去琢磨句子的意思,在思维上不会感到辛苦。但是,学习编程是需要大量练习的,不仅要注重“质”的提升,也要注重“量”的积累。

致谢

笔者是第一次写书,从来没想过写书那么累,需要花那么多时间和精力。这半年来,我得到了很多亲人、朋友的鼓励和帮助,没有他们,我难以想象自己能坚持到最后。

感谢我的妻子,当我感到疲劳时,有她在身边总能感到安心。

感谢我的儿子,现在他还在我妻子的肚子里茁壮成长,估计本书会和他差不多一起诞生,他是我重要的精神支柱。

感谢好朋友曹宇,我们无话不谈,纵古论今

最后,感谢本书的编辑付睿女士,她协助我完成了对于本书构思,并提出了很多建设性的意见。

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book