A zoomable treemap, with dynamic width for mobile, and wrapped texts.
The code has been ported to D3v4, and humbly improved from the original Jacques Jahnichen's Block.
The data visualizes the income provisional budget for the city of Rome, as of year 2016.
This gist is part of the OpenBilanci project.
Modifications and improvements include: colors are not used, breadcrumbs have been added to the navigation bar, titles have been added to the svg rects (popover effect on some browser)
forked from guglielmo's block: d3.js v4 - Zoomable treemap
https://d3js.org/d3.v4.min.js