Skip to main content
100%

Zadluženost států Pie chart

✓ Published4🌍 Public
Hhanulik.ondrej@gmail.com
Last edited Jul 30, 2022
Created on Aug 9, 2021
Forked from Pie chart

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 description

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

MIT Licensed

Similar vizzes