Here are the slides and examples from my “d3 in 3D” presentation at the Austin d3 Meetup on April 6th, 2015. Click here to view the slides Link to blog post about creating 3D treemaps using d3 Link to Steve Hall’s blog on using d3 to do 3D
After finishing my review of “Learning D3.js Mapping”, I wanted to take things up a notch so I combined one of the more advanced examples from the book with my Pan and Zoom demo code. Check out the results below: See the Pen d3 Mapping by Bill White (@billdwhite) on CodePen.
I was recently asked to review a copy of PacktPub’s “Learning D3.js Mapping” by Thomas Newton and Oscar Villarreal. I’ve done a good deal of d3 development, but the mapping portion of the library has not received much of my attention until now. A fellow d3 developer and leader of our local d3 Meetup group,… Read More »
Question: Is it possible to make a single page web application that uses CSS to layout the page and still have your d3 charts know when to update their size/appearance? One thing that always catches my attention with d3 examples is the lack of code that makes the chart fill the viewport when it is… Read More »
The visualizations that I work on have large datasets that need to be rendered quickly with as little DOM overhead as possible. One of the cool things about d3 is that is renders the data present at any given moment along with changes to that data that are coming or going. However, if you have… Read More »
I received a comment on the Flow Tree Layout post asking if it was possible to use that same layout multiple times within a single SVG. The code in that example created an SVG inside of a dom node passed in by the caller, but it is possible to modify that sample to accept any… Read More »
Here is a quick and dirty demo to show how one could reuse the pan and zoom code for other types of layouts. This is in response to this inquiry from the d3 forum. See the Pen cwbjo by Bill White (@billdwhite) on CodePen.
I received a question from a commentor asking how one might use the Pan and Zoom demo with a force layout. I came up with a couple of ways to do it. Option #1 The first variation shows the quick and dirty approach which essentially bypasses the nice, reusable structures I spent time implementing in… Read More »
I put together a little demo to show how to setup a canvas with a corresponding minimap that displays an overview of the contents of the canvas. You can use the mousewheel on either the main canvas or the minimap to zoom in and out. You can also drag either the image or the minimap… Read More »