Viewing a saved revision (read-only)
833efa0262c746cd9b0b9755ee68e09a
Activity8_Q3
This stacked bar chart shows the distribution of land area types—Snow, Water, Forest, and Urban—across seven continents, with each continent’s segments summing to 100%. It uses D3.js v7 with an SVG rendering, employing `d3.stack` and `d3.scaleOrdinal` with the Tableau10 color scheme. Hovering over a bar segment highlights it and displays a tooltip with the exact percentage for that area type and continent. The data is loaded from a CSV file, and axes are formatted using `d3.axisBottom` with percentage labels, while a legend identifies each category.
AI-generated descriptionDistribution of Land Area Types by Continent
This graph represents s stacked bar chart for the area type in each continent. The areas are divided into 4 categories: Snow, Water, Forest and Urban. The total area is represented in percentages and the total percentage for each continent sums upto 100%.