Answer : Chart.js is great, but has small number of chart types. Chart.js is lib to use provided charts, not to create own chart types. D3.js is lib for producing data visualizations. See examples. You can find few treemap examples (i.e. this or this) done with d3.js This snippet is an example of the treemap module for chart.js. Also here are more examples and the documentation. var topTags = [ {tag:'python',num:133269},{tag:'javascript',num:109742},{tag:'java',num:65490},{tag:'c#',num:45445},{tag:'html',num:43767},{tag:'android',num:42657},{tag:'reactjs',num:38844},{tag:'php',num:34381},{tag:'sql',num:29996},{tag:'python',num:29942},{tag:'css',num:29654},{tag:'r',num:28319},{tag:'c++',num:27389},{tag:'node.js',num:25415},{tag:'angular',num:24093},{tag:'pandas',num:23826},{tag:'arrays',num:23075},{tag:'jquery',num:18968},{tag:'...