Skip to main content
100%

project-Pie chart

✓ Published2🌍 Public
Rrajasrilekkala
Last edited Apr 8, 2023
Created on Apr 8, 2023
Forked from Pie Chart

This pie chart visualizes the percentage of canceled hotel bookings across different countries, with each slice labeled and a corresponding legend. The chart is rendered as an SVG using D3 v5, leveraging `pie` for arc generation, `arc` for path geometry, and `scaleOrdinal` for slice colors. Data is loaded asynchronously from a CSV file via `d3.csv` from a GitHub Gist, and the total cancellation percentage is computed before rendering.

AI-generated description
MIT Licensed

Similar vizzes