Zadluženost států Pie chart
✓ Published4🌍 Public
A pie chart visualizes the debt-to-GDP ratios of thirteen countries, with Japan, Sudan, and Greece showing the highest values. Each slice is labeled with the country name and its corresponding value. The chart uses D3 v6 to load CSV data, compute arc angles with `d3.pie()`, and render the slices using `d3.arc()`. Colors are generated via an ordinal scale with `d3.interpolateYlOrRd`, and labels are positioned using an arc generator’s `centroid()` method. The SVG output includes white slice borders for clarity.
AI-generated descriptionAlt+96 = `<br> Alt+ů = $<br> Základní bar chart je hotový do 3:42:42
MIT Licensed