4 options
Data visualization with D3.js cookbook / Nick Qi Zhu.
- Format:
- Book
- Author/Creator:
- Zhu, Nick Qi.
- Language:
- English
- Subjects (All):
- Information visualization.
- Visual analytics.
- Physical Description:
- 1 online resource (1 v.) : ill.
- Edition:
- 1st edition
- Place of Publication:
- Birmingham : Packt Publishing, [2013]
- System Details:
- text file
- Biography/History:
- Zhu Nick: Nick Zhu is a professional programmer and data engineer with more than a decade experience in software development, big data, and machine learning. Currently, he is one of the founders and CTO of Yroo. com - meta search engine for online shopping. He is also the creator of dc. jsa popular multidimensional charting library built on D3.
- Summary:
- Turn your digital data into dynamic graphics with this exciting, leading-edge cookbook. Packed with recipes and practical guidance it will quickly make you a proficient user of the D3 JavaScript library. Create stunning data visualization with the power of D3 Bootstrap D3 quickly with the help of ready-to-go code samples Solve real-world visualization problems with the help of practical recipes In Detail D3.js is a JavaScript library designed to display digital data in dynamic graphical form. It helps you bring data to life using HTML, SVG, and CSS. D3 allows great control over the final visual result, and it is the hottest and most powerful web-based data visualization technology on the market today. "Data Visualization with D3.js Cookbook" is packed with practical recipes to help you learn every aspect of data visualization with D3. "Data Visualization with D3.js Cookbook" is designed to provide you with all the guidance you need to get to grips with data visualization with D3. With this book, you will create breathtaking data visualization with professional efficiency and precision with the help of practical recipes, illustrations, and code samples. "Data Visualization with D3.js Cookbook" starts off by touching upon data visualization and D3 basics before gradually taking you through a number of practical recipes covering a wide range of topics you need to know about D3. You will learn the fundamental concepts of data visualization, functional JavaScript, and D3 fundamentals including element selection, data binding, animation, and SVG generation. You will also learn how to leverage more advanced techniques such as custom interpolators, custom tweening, timers, the layout manager, force manipulation, and so on. This book also provides a number of pre-built chart recipes with ready-to-go sample code to help you bootstrap quickly.
- Contents:
- Intro
- Data Visualization with D3.js Cookbook
- Table of Contents
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Getting Started with D3.js
- Introduction
- Setting up a simple D3 development environment
- Getting Ready
- How to do it...
- How it works...
- There's more...
- How to get source code
- Setting up an NPM-based development environment
- Setup a local HTTP server
- Python Simple HTTP Server
- Node.js HTTP Server
- Understanding D3-style JavaScript
- Getting ready
- Functions are objects
- Static variable scoping
- Variable-parameter function
- Function chaining
- Finding and sharing code
- How to get help
- 2. Be Selective
- Selecting a single element
- Selecting multiple elements
- Iterating through a selection
- Performing subselection
- Manipulating the raw selection
- 3. Dealing with Data
- The enter-update-exit pattern
- Binding an array as data
- How it works.
- Binding object literals as data
- Binding functions as data
- Working with arrays
- Filtering with data
- Sorting with data
- Loading data from a server
- 4. Tipping the Scales
- What are scales?
- Using quantitative scales
- Using the time scale
- See also
- Using the ordinal scale
- Interpolating a string
- Interpolator
- Interpolating colors
- Interpolating compound objects
- Implementing a custom interpolator
- 5. Playing with Axes
- Working with basic axes
- Customizing ticks
- Drawing grid lines
- Dynamic rescaling of axes
- 6. Transition with Style
- What is Transition?
- Animating a single element
- Animating multiple elements
- Using ease
- Getting Ready.
- How to do it...
- Using tweening
- Using transition chaining
- Using transition filter
- Listening to transitional events
- Working with timer
- 7. Getting into Shape
- What is SVG?
- Vector
- Scalability
- Creating simple shapes
- D3 SVG shape generators
- Using a line generator
- Using line interpolation
- Changing line tension
- Using an area generator
- Using area interpolation
- Using an arc generator
- Implementing arc transition
- 8. Chart Them Up
- Creating a line chart
- Creating an area chart
- Creating a scatter plot chart
- Creating a bubble chart
- Creating a bar chart
- How to do it.
- How it works...
- 9. Lay Them Out
- Building a pie chart
- Building a stacked area chart
- Expanded area chart
- Streamgraph
- Building a treemap
- Building a tree
- Building an enclosure diagram
- 10. Interacting with your Visualization
- Interacting with mouse events
- Interacting with a multi-touch device
- Implementing zoom and pan behavior
- Implementing drag behavior
- 11. Using Force
- Using gravity and charge
- Charge
- Gravity
- Friction
- Setting up zero force layout
- Setting up mutual repulsion
- Setting up mutual attraction
- Setting up gravity
- Using gravity with repulsion
- Generating momentum
- Setting the link constraint
- Using force to assist visualization
- Manipulating force
- Building a force-directed graph.
- Getting ready
- 12. Know your Map
- Projecting the US map
- GeoJSON
- TopoJSON
- Projecting the world map
- Building a choropleth map
- 13. Test Drive your Visualization
- Introduction to unit testing
- Getting Jasmine and setting up the test environment
- Test driving your visualization - chart creation
- Test driving your visualization - SVG rendering
- Test driving your visualization - pixel-perfect bar rendering
- A. Building Interactive Analytics in Minutes
- The crossfilter.js library
- Dimensional charting - dc.js
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed December 7, 2013).
- ISBN:
- 9781782162179
- 1782162178
- OCLC:
- 868236416
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.