Treemap example
✓ Published0🌍 Public
This treemap presents the populations of ten countries, with each rectangle’s width proportional to its population and the height divided equally. The visualization uses a bar-chart layout rather than a nested treemap, with countries listed on the y-axis and population values on the x-axis. Built with D3 v5, the code loads data from `data.csv` and draws SVG rectangles using `scaleLinear` and `scaleBand` scales, with axes rendered via `axisLeft` and `axisBottom`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed