Fork of Task9-Q1
✓ Published0🌍 Public
This visualization displays the land area percentage of continents as a pie chart, with each continent’s proportion encoded by a distinct color and a hover tooltip revealing the exact percentage value. The chart is built using D3.js version 4.2.2, employing the `d3.pie` and `d3.arc` functions to generate the SVG paths, and `d3.scaleOrdinal` for color mapping. The customData array is hardcoded for the seven continents. The chart is responsive, redrawing on window resize by clearing the existing SVG and re-invoking the plot function.
AI-generated descriptionMIT Licensed