🌍 Public
Viewing a saved revision (read-only)
955c6ba90bfe463992355b1c10e33d8d
Fork of project-Pie chart
This pie chart shows the percentage of canceled hotel bookings by country, using a dataset loaded via d3.csv from a GitHub gist. It renders an SVG with a pie layout from d3.pie and d3.arc, coloring each slice with a scaleOrdinal mapping to a discrete palette. Labels display the percentage on each segment, and a legend lists countries alongside their values, all styled with CSS. The visualization relies on d3 v5, including d3.arc for concentric geometry and d3.format for axis text.
AI-generated description