Skip to main content
100%

Fork of Task9-Q1

✓ Published0🌍 Public
Mmythripopuri2001@gmail.com
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Task9-Q1

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 description
MIT Licensed

Similar vizzes