From the course: D3.js Essential Training

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Leveraging community plugins: Using D3-hexbin

Leveraging community plugins: Using D3-hexbin - D3.js Tutorial

From the course: D3.js Essential Training

Leveraging community plugins: Using D3-hexbin

- [Instructor] Sometimes human ideas go beyond what d3 can do. For these cases, the d3 community can step in and extend d3's capabilities. And fortunately it's generally free for us to use. One such use case is the hexbin, and in this video I will show you how to create one of them. The plugins like this are developed and maintained by the d3 community and offer specialized features that are not part of the main library. There are lots of other plugins like this, including Sankey, Chord, Contour and Geo Projection. D3 hexbin lets us create hexagonal binning visualizations. Hexbins are beautiful and they make it easy to visualize dense scatterplot data in a way that reveals patterns better than an overwhelming number of individual points. To use these plugins, we have to install them separately. We could use NPM to install them depending on your tech stack. But to keep things simple, we are going to pull them in via a script. So where we are pulling in d3 itself and we are going to…

Contents