Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Q3

Public visualization

Activity8_Q3

0 stars0🌍 Public
LLakshmi Keerthi
Last edited Apr 10, 2024
Created on Apr 9, 2024
Forked from Activity8_Task2

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 description

Distribution 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%.

Comments

Sign in to join the discussion.

MIT Licensed