O'Reilly logo

Practical D3.js by Rayna Stamboliyska, Tarek Amr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Tarek Amr and Rayna Stamboliyska 2016

Tarek Amr and Rayna Stamboliyska, Practical D3.js, 10.1007/978-1-4842-1928-7_7

7. Transforming Data with Layouts

Tarek Amr and Rayna Stamboliyska2

(1)Amsterdam, The Netherlands

(2)Issy-les-Moulineaux, Paris, France

In this chapter you will be introduced to layouts. D3 layouts are usually where most of the magic happens, as they can transform your data in different ways for you to be visualize later on. Layouts will be used here to create pie charts, treemaps, and stacked charts; in addition to nontraditional visualizations using the partition and packing layouts.

Pie Chart Layout

Pie and donut charts are probably the most hated charts within the data visualization community. In his book, “The Visual Display of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required