Summary

That's pretty much all the layouts, and we've done a pretty decent dip into each of them. I've provided the package names for each so that you can peruse the documentation. Each has a lot of options you can tweak, which is helpful for producing a very wide array of charts.

After going full out with these examples, we used almost every trick we've learned so far. We even wrote so much code that we pretty much have our own utility library! With a bit of generalization, some of those functions could be layouts of their own. There's a whole world of community that developed layouts for various types of charts. The d3-plugins repository on GitHub (https://github.com/d3/d3-plugins) is a good way to start exploring.

You now understand what all the default layouts are up to, and I hope you're already thinking about using them for purposes beyond the original developers' wildest dreams.

In the next chapter, you'll learn how to use D3 outside of the browser--that's right folks, we're headed to Server Town! In doing so, we'll strip D3 right down to the bare bones, and use it to render things that aren't even SVG.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset