Skip to main content
100%

Activity 6_Question2

✓ Published0🌍 Public
HHarshita Vairagade
Last edited Apr 13, 2024
Created on Apr 13, 2024

This visualization depicts the distribution of the Iris dataset across three species, showing the percentage of each species. It employs a stacked bar chart to display the proportions, with each bar representing a species and colored segments for each species type. When hovering over a segment, a tooltip reveals the exact percentage. The code uses d3.stack, d3.scaleOrdinal, d3.scaleLinear, and d3.scaleBand to construct the chart, with a custom tooltip for interaction. The visualization is rendered as SVG.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.

MIT Licensed

Similar vizzes