Skip to main content
100%

Untitled

✓ Published0🌍 Public
Hhanulik.ondrej@gmail.com
Last edited Dec 24, 2021
Created on Dec 23, 2021

A treemap visualizes the distribution of Czech energy sources, with rectangles sized by value and labeled with names like uhlí, nafta, and plyn. The code uses D3 v4’s `d3.stratify` to build a hierarchy from CSV data and `d3.treemap` to compute layout positions. SVG rectangles and text labels are appended to the chart, with fills styled via a linked stylesheet.

AI-generated description

Alt+96 = `<br> Alt+ů = $<br> Základní bar chart je hotový do 3:42:42

MIT Licensed

Similar vizzes