- Expert Data Visualization
- Jos Dirksen
- 179字
- 2021-07-09 18:22:44
How long have American firms been in business visualized with pies and donuts
In September 2016, the US Census Bureau released data that showed how long American firms have been in business. The US Census Bureau even created a nice-looking visualization themselves (http://www.census.gov/newsroom/press-releases/2016/cb16-148.html) showing the results from that data:

In this section, we'll create an alternative visualization using an animated donut chart. While making this, we'll explore the following subjects:
- Learning how to use animations to occur when data is loaded
- Using the various path generators from D3 to generate SVG paths
- Using color interpolators to color each inpidual part of the donut
You can see this sample for yourself by opening example: <DVD3>/src/chapter-02/D02-01.html. The results look like this:

By selecting a different group of firm owners in the top left you can see the donut transition to its new state, and if you hover with the mouse over a donut segment, it'll grow a bit, and show its percentage in the middle of the donut.
First off, let's see what the data looks like in its raw form.
- DBA攻堅指南:左手Oracle,右手MySQL
- C++程序設計(第3版)
- C語言程序設計(第2版)
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- 學Python也可以這么有趣
- 機器學習與R語言實戰
- UVM實戰
- Integrating Facebook iOS SDK with Your Application
- 深入分布式緩存:從原理到實踐
- Visualforce Developer’s guide
- Kivy Cookbook
- Magento 2 Beginners Guide
- Arduino機器人系統設計及開發
- 零基礎學C++(升級版)
- Java 9 with JShell