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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Making a tree from JSON using D3-hierarchy15m 9s
-
(Locked)
Powering a treemap from D3-hierarchy8m 43s
-
(Locked)
Pie charts and arcs with D3-shape10m 51s
-
(Locked)
Leveraging community plugins: Using D3-hexbin8m 51s
-
(Locked)
Challenge: Create a donut chart57s
-
(Locked)
Solution: Create a donut chart7m 16s
-
(Locked)
-
-
-