Leanpub, 2015.
D3_js can help you make data beautiful.
D3 Tips and Tricks is a book written to help those who may be unfamiliar with JavaScript or web page creation get started turning information into visualization.
Data is the new medium of choice for telling a story or presenting compelling information on the Internet and D3_js is an extraordinary framework for presentation of data on a web page.
Is this book for you?.
It's not written for experts. It's put together as a guide to get you started if you're unsure what d3_js can do. It reads more like a story as it leads the reader through the basics of line graphs and on to discover animation, tooltips, tables, interfacing with MySQL databases via PHP, sankey diagrams, force diagrams, maps and more.
Why was D3 Tips and Tricks written?.
Because in the process of learning things, it's a great way to remember them if you write them down :-).
As a result, learning how to do cool stuff with D3 meant that I accumulated a sizeable number ways to help me out when the going got tricky. Then I realised that these could be useful for others who were trying out D3_js and who were at a similar knowledge level.
So here we are! A collection of tips and tricks for D3_js written by a noob for people who might consider that they're in the same situation :-).
What's in the book?.
I've captured the appropriate code (in cool looking coloured text) and added in heaps of illustrations of what's going on so that you will get more traction at the start of your learning process than I did.
Table of Contents.
Acknowledgements.
Make sure you get the most up to date copy of D3 Tips and Tricks.
What is D3_js?
Introduction.
What do you need to get started?
Starting with a basic graph.
Things you can do with the basic graph.
Elements, Attributes and Styles.
Assorted Tips and Tricks.
Manipulating data.
Bar Charts.
Sankey Diagrams.
Tree Diagrams.
Bullet Charts.
Mapping with D3_js.
D3_js Examples Explained.
Crossfilter, dc.js and D3_js for Data Discovery.
Using Bootstrap with D3_js.
MySQL Tips and Tricks for D3_js.
Working with GitHub, Gist and bl.ocks.org.
Appendices.