Interactive Data Visualization for the Web

Interactive Data Visualization for the Web pdf epub mobi txt 电子书 下载 2026

出版者:O′Reilly
作者:Scott Murray
出品人:
页数:458
译者:
出版时间:2017-8-31
价格:GBP 39.99
装帧:Paperback
isbn号码:9781491921289
丛书系列:
图书标签:
  • JavaScript
  • 计算机
  • 数据可视化
  • Visualization
  • O'Reilly
  • Web
  • 编程
  • 第二版
  • 数据可视化
  • 交互式可视化
  • Web开发
  • JavaScript
  • D3
  • js
  • 图表
  • 前端开发
  • 数据分析
  • 可视化设计
  • 网页设计
想要找书就要到 图书目录大全
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

具体描述

Create and publish your own interactive data visualization projects on the web—even if you have little or no experience with data visualization or web development. It’s inspiring and fun with this friendly, accessible, and practical hands-on introduction. This fully updated and expanded second edition takes you through the fundamental concepts and methods of D3, the most powerful JavaScript library for expressing data visually in a web browser.

Ideal for designers with no coding experience, reporters exploring data journalism, and anyone who wants to visualize and share data, this step-by-step guide will also help you expand your web programming skills by teaching you the basics of HTML, CSS, JavaScript, and SVG.

Learn D3 4.x—the latest D3 version—with downloadable code and over 140 examples

Create bar charts, scatter plots, pie charts, stacked bar charts, and force-directed graphs

Use smooth, animated transitions to show changes in your data

Introduce interactivity to help users explore your data

Create custom geographic maps with panning, zooming, labels, and tooltips

Walk through the creation of a complete visualization project, from start to finish

Explore inspiring case studies with nine accomplished designers talking about their D3-based projects

作者简介

Scott Murray is a designer who writes software to create data visualizations and other interactive experiences. Scott is in the Learning Group at O'Reilly Media, has taught numerous courses and workshops on data visualization and creative coding. He is also a Senior Developer for Processing, and is working on his next book, "Creative Coding and Data Visualization with p5.js: Drawing on the Web with JavaScript."

He can be found at alignedleft.com and @alignedleft.

目录信息

Preface
What’s New in the Second Edition
Conventions Used in This Book
O’Reilly Safari
How to Contact Us
Acknowledgments
1. Introduction
Why Data Visualization?
Why Write Code?
Why Interactive?
Why on the Web?
What This Book Is
Who You Are
What This Book Is Not
Using Sample Code
Thank You
2. Introducing D3
What It Does
What It Doesn’t Do
Origins and Context
Alternatives
Easy Charts
Graph Visualizations
Geomapping
Almost from Scratch
Three-Dimensional
Tools Built with D3
3. Technology Fundamentals
The Web
HTML
Content Plus Structure
Adding Structure with Elements
Common Elements
Attributes
Classes and IDs
Comments
DOM
Developer Tools
Rendering and the Box Model
CSS
Selectors
Properties and Values
Comments
Referencing Styles
Inheritance, Cascading, and Specificity
JavaScript
Hello, Console
Variables
Other Variable Types
Arrays
Objects
Objects and Arrays
Mathematical Operators
Comparison Operators
Logical Operators
Control Structures
Functions
Comments
Referencing Scripts
JavaScript Gotchas
SVG
The SVG Element
Simple Shapes
Styling SVG Elements
Layering and Drawing Order
Transparency
A Note on Compatibility
4. Setup
Downloading D3
Referencing D3
Setting Up a Web Server
Terminal with Python
MAMP, WAMP, and LAMP
Diving In
5. Data
Generating Page Elements
Chaining Methods
One Link at a Time
The Handoff
Going Chainless
Binding Data
In a Bind
Data
Please Make Your Selection
Bound and Determined
Using Your Data
High-Functioning
Data Wants to Be Held
Beyond Text
6. Drawing with Data
Drawing divs
Setting Attributes
A Note on Classes
Back to the Bars
Setting Styles
The Power of data()
Random Data
Drawing SVGs
Create the SVG
Data-Driven Shapes
Pretty Colors, Oooh!
Making a Bar Chart
The Old Chart
The New Chart
Color
Labels
Making a Scatterplot
The Data
The Scatterplot
Size
Labels
Next Steps
7. Scales
Apples and Pixels
Domains and Ranges
Normalization
Creating a Scale
Scaling the Scatterplot
d3.min() and d3.max()
Setting Up Dynamic Scales
Incorporating Scaled Values
Refining the Plot
Other Methods
Other Scales
Square Root Scales
Time Scales
8. Axes
Introducing Axes
Setting Up an Axis
Positioning Axes
Check for Ticks
Y Not?
Final Touches
Formatting Tick Labels
Time-Based Axes
9. Updates, Transitions, and Motion
Modernizing the Bar Chart
Ordinal Scales, Explained
Starting Your Own Band
Referencing the Band Scale
Other Updates
Updating Data
Interaction via Event Listeners
Changing the Data
Updating the Visuals
Transitions
duration(), or How Long Is This Going to Take?
ease()-y Does It
Please Do Not delay()
Randomizing the Data
Updating Scales
Updating Axes
on() Transition Starts and Ends
Other Kinds of Data Updates
Adding Values (and Elements)
Removing Values (and Elements)
Data Joins with Keys
Add and Remove: Combo Platter
Recap
10. Interactivity
Binding Event Listeners
Introducing Behaviors
Hover to Highlight
Grouping SVG Elements
Click to Sort
Tooltips
Default Browser Tooltips
SVG Element Tooltips
HTML div Tooltips
Consideration for Touch Devices
Moving Forward
11. Using Paths
Line Charts
Data Preparation
Scale Setup
Line ’em Up
Dealing with Missing Data
Refining the Visuals
Area Charts
12. Selections
A Closer Look at Selections
Getting More Specific
Storing Selections
Enter, Merge, and Exit
The Enter Selection
Merging Selections
The Exit Selection
Filtering Selections Based on Data
To each() Their Own
13. Layouts
Pie Layout
Stack Layout
A New Order
Anchoring Those Bars
Stacked Areas
Force Layout
Preparing the Network Data
Defining the Force Simulation
Creating the Visual Elements
Updating Visuals over Time
Draggable Nodes
14. Geomapping
JSON, Meet GeoJSON
Paths
Projections
Choropleth
Adding Points
Panning
Transitioning the Map
Dragging the Map
Border Problems
Zooming
Fixing the Pan Buttons
Zoom-y Buttons
Constraining Panning and Zooming
Preset Views
Value Labels
Acquiring and Preparing Raw Geodata
Find Shapefiles
Choose a Resolution
Simplify the Shapes
Convert to GeoJSON
Choose a Projection
15. Exporting
Bitmaps
PDF
SVG
16. Project Walk-Through
Prepare the Data
Load and Parse the Data
Render the Initial View
Add Interactivity
Refine Styling
Provide Context
Dancing Versus Gardening
A. Case Studies
“Close Votes”
“What Size Am I?”
“Explained Visually” Series
“Workers’ Comp Benefits: How Much Is a Limb Worth?”
“Farmers’ Markets” Series
“Weather Circles”
“Data Sketches” Series
B. What’s New in 4.0
Modularity
Namespace and camelCase
Selections
Multivalue Maps
Transitions
Ordinal Scales
Axes
Stack Layout
Zooming
C. Further Study
Interacting with Other Humans
Reading Books
D3 Books
Other Data Visualization Books
Surfing Websites
D3-Related
Getting a Job and Geeking Out
D. Sharing Your Code
bl.ocks.org
Making a Block
Gist-to-Blocks Browser Extensions
Bl.ock Builder
Making a Block with Gistup
Codepen, JS Bin, or Otherwise
A Normal Web Server
E. Quick Reference
Selections
Data
Transitions
Scales
Axes
Interactivity
Numbers, Dates, and Times
Other Useful JavaScript
Index
· · · · · · (收起)

读后感

评分

我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看...

评分

我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看...

评分

我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看...

评分

我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看...

评分

我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看...

用户评价

评分

读完这本关于网络数据可视化的书,我最大的感受是它的实用性和前瞻性达到了一个完美的平衡点。它没有沉溺于那些已经过时的Flash技术或者只有少数人会用的专有软件,而是紧紧围绕Web标准展开,这确保了我们现在学到的知识在未来几年内依然有效。作者对于响应式设计的强调,在当今多设备浏览的时代背景下显得尤为重要。我特别欣赏它对“叙事性可视化”的探讨。很多工具的书籍只是教你如何把数据变成图片,但这本书更进一步,教你如何讲故事。它用一些案例展示了如何通过精心设计的动画和用户引导,让数据不仅仅是数字的堆砌,而是变成了一种引人入胜的叙事流。我记得其中一个章节详细对比了几种不同的图表类型在传达不同信息时的优劣,这对于我们选择正确的视觉编码至关重要。这本书的排版和示例代码都做得非常干净,即便是初学者也能迅速上手运行第一个例子,并且从中看到自己努力的即时反馈,这种及时的正反馈机制,极大地激励了我继续深入学习下去。

评分

如果让我用一个词来形容这本书对我的影响,那一定是“赋能”。在此之前,我总觉得要在浏览器上实现复杂的、定制化的交互式图表,需要一个庞大的团队和数不清的后端支持。这本书彻底颠覆了我的这种认知。它展示了如何在纯粹的客户端环境中,利用现代Web技术栈,构建出媲美专业商业软件的可视化产品。它对跨浏览器兼容性的处理也提供了非常实用的建议,避免了我们在实际部署中经常遇到的“在我机器上运行得好好的”的尴尬局面。最让我感到惊喜的是,它没有止步于教你使用现成的库,而是深入讲解了底层逻辑,这意味着,如果未来出现了一个更新、更快的可视化库,你也能迅速地掌握其核心原理并迁移过去。这种建立在坚实基础上的灵活性,是这本书最宝贵的财富。它不只是教我如何用锤子,更教我如何自己打造一把更顺手的锤子。这本书,绝对是所有想在Web端做深度数据探索的开发者案头必备的典藏之作。

评分

这本书,我得说,真的把我拉进了一个全新的数据可视化世界的大门。我本来以为这玩意儿就是搭个图表,放几个颜色,搞定收工。结果这本书,简直就是一本手把手的武功秘籍,从最底层的HTML、CSS基础讲起,到JavaScript库的运用,讲解得细致入微。作者似乎深谙我们这些“半路出家”想做点酷炫东西的人的心态,不讲那些云里雾里的理论,而是直接教你“怎么做”,然后深入解释“为什么这么做”。我印象最深的是它关于D3.js的那几章,很多教程上来就扔一堆代码让你抄,看得我一头雾水,但这本书不一样,它把数据绑定、比例尺、坐标轴的生成过程,一步一步拆解开来,就像解剖一个精密的瑞士手表,让你不仅知道零件是什么,还明白它们是如何协同工作的。特别是它在处理复杂交互性数据时的那些技巧,比如刷选、拖拽、动画过渡,简直是让我大开眼界。我尝试用书里的方法重构了我之前一个非常笨拙的仪表盘,效果提升了不止一个档次,那种成就感,真是难以言喻。这本书的价值,在于它提供的不仅仅是代码片段,更是一种思考数据的视角和构建动态体验的方法论。

评分

坦白讲,市面上关于数据可视化的书籍多如牛毛,但大部分都过于侧重理论深度而忽略了实际操作中的“陷阱”和“最佳实践”。然而,这本书给我的感觉像是邀请了一位经验丰富的前辈,坐在你的旁边,一边喝咖啡一边指导你如何避开那些让你抓耳挠腮的编程死胡同。它对于性能优化的关注点让我印象非常深刻。当数据集变得庞大时,如何保持Web应用的流畅性,这是一个现实的难题。书中关于使用Canvas或WebGL进行大量点渲染的章节,虽然技术性较强,但讲解得清晰有力,避免了不必要的底层复杂性,而是聚焦于如何利用Web图形API来解决实际的性能瓶颈。更难能可贵的是,作者在涉及一些新兴技术(比如实时数据流处理的初步概念)时,没有做过多夸大,而是保持了一种审慎和务实的态度,指出当前技术的局限性,这让整本书读起来非常可靠、值得信赖。它教你的不是如何成为一个理论家,而是如何成为一个能够交付可靠、高效产品的工程师。

评分

我通常对技术书籍的阅读体验持保留态度,因为很多作者的写作风格要么过于学术化,要么就是流水账式的代码堆砌。但这本书在语言风格上,展现出一种难得的人情味和精准度。它仿佛拥有一种魔力,能将枯燥的技术概念转化为易于理解的口语化解释,尤其是在处理SVG路径和几何转换这些抽象内容时。我记得有一处关于图表设计的伦理讨论,探讨了如何避免因视觉误导而扭曲事实真相,这在我以往阅读的技术书籍中是极少触及的深度。这种对“负责任的可视化”的关注,让这本书的价值超越了单纯的技术指南。此外,书中穿插的“挑战自我”的小练习,设计得恰到好处,它们不是那种随便应付的填空题,而是能真正推动你思考现有代码框架中可以改进的地方。这些练习迫使我去查阅官方文档,去尝试不同的参数组合,从而真正内化了知识,而不是仅仅停留在“看过一遍”的层面。

评分

只能说可以学会D3的基本用法,感觉代码组织的很有问题,书后半段代码量已经增长的有点大了,可还是那种连个函数都没有的写法...

评分

借着参与Credit Suisse Hackathon的契机,特别理解在种类繁多,关系复杂,结构散乱的Raw Data里提取Business Value的困难与重要。 如若能快速识别几个价值维度,借助交互式的数据可视化,便可最大可能地展示其核心指标。基于数据驱动的D3在Web可视化的地位暂时不可撼动,无论是要做数据分析还是报表,甚至是地图都值得一玩。

评分

为了赶DDL快速浏览了一遍。这个D3入门教材内容很详细,循序渐进,非常适合我这样的新手学习。关键是语言太幽默轻松了,有种阅读 Hitchhiker's Guide to the Galaxy 的感觉。另外,结尾这段话很赞:I’ve often felt like coding was a bit like dancing: first, you flail over here, then you flail over there. Nothing makes sense at first, but eventually you find your rhythm and the moves that work for you. (BTW 可以对比一下第一版的封面)

评分

为了实现某个可视化效果,不过现有的组件无法实现这个功能,于使就入坑了D3.js。 介绍的非常基础、详细,同时也非常有条理性。

评分

跟着Data Viz课一刷,用代码绘画搭图,D3于我简直打开新世界的大门=D

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2026 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有