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 ...