Skip to main content
100%

Fork of Activity6_Ques2(3)

✓ Published0🌍 Public
Nnithinnc@outlook.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity6_Ques2

A stacked bar chart displays the percentage of ratings across five categories (Technology, Finance, Healthcare, Education, Sports, and Entertainment) for rating ranges from below 18 to above 9. Each category is represented as a horizontal bar divided into colored segments, with colors mapped via d3.scaleOrdinal. The chart uses d3.stack to compute stacked data and d3.scaleBand with d3.scaleLinear for positioning. Interactive tooltips appear on mouseover, showing the exact percentage for each rating segment using d3.format. The visualization renders with SVG and uses D3 v7.

AI-generated description

Ratings according to different categories

This stacked bar chart gives the percentage of ratings according to different categories

MIT Licensed

Similar vizzes