Summary
In this chapter, you explored most of the generator functions available in the d3-shape module, which provide the tools you need to create classic pie and doughnut charts, line and area charts, radial charts, stacked charts, and preconfigured symbols that can be used to represent points in scatterplots, line, and area charts.
All the shapes created in this chapter were rendered as SVG path elements. The generator functions either create SVG path strings or generate data structures that can be used by other functions to generate path strings. In the last section, we had a brief introduction to Canvas rendering, which is an important technique that you may need to use when facing performance problems due to excessive memory use.
But ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access