Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Zadluženost států Pie chart

Public visualization

Viewing a saved revision (read-only)

7e7b867fe9da43faa3289abac2dc3de9

Zadluženost států Pie chart

1 star4🌍 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