Skip to main content
100%

d3.js - A zoomable treemap, dynamic width, with colors and wrap text

✓ Published0🌍 Public
SSigfried
Last edited Jun 1, 2018
Created on Jun 1, 2018

This zoomable treemap visualizes the budget of the Seine-Saint-Denis department, grouping datasets by political policy areas. Color encodes the rate of budget change, from negative (purple) to positive (blue), while rectangle size reflects monetary value. The d3.v3 layout uses `d3.layout.treemap` with dynamic width for mobile, animated transitions, and wrapped text labels. Data comes from `budget-data.json`, and the implementation builds on Mike Bostock's treemap and Zan Armstrong's adaptations.

AI-generated description

A zoomable treemap, dynamic width for mobile, wrap text and colors. Created for the Open Data Portal of Seine-Saint-Denis, with the datasets grouped by political publics drawn based on the budget of the individual datasets

The d3 code is heavily based on code shared by Mike Bostock, Zan Armstron and PMeinshausen.

forked from <a href='http://bl.ocks.org/JacquesJahnichen/'>JacquesJahnichen</a>'s block: <a href='http://bl.ocks.org/JacquesJahnichen/42afd0cde7cbf72ecb81'>d3.js - A zoomable treemap, dynamic width, with colors and wrap text</a>

mit Licensed

Similar vizzes