Skip to main content
100%

QUESTION-1

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

This visualization is a pie chart, titled "Land Area Percentage of Continents," that displays the proportion of global land area occupied by each continent, such as Asia at 30% and Africa at 20.3%. The chart is rendered using the D3.js library (version 4.2.2), specifically leveraging the `d3.pie` and `d3.arc` APIs to generate the pie segments. A custom color scale (`d3.scaleOrdinal`) assigns distinct colors to each continent, and a tooltip is implemented to show the exact percentage value upon mouseover. The data is hardcoded within the `index.js` file, not sourced from the provided `data.csv`. The SVG output includes a Gaussian blur filter for a shadow effect.

AI-generated description
MIT Licensed

Similar vizzes