Skip to main content
100%

Task2_Activity6

✓ Published0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Apr 5, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of four flower measurements—sepal length, sepal width, petal length, and petal width—across the three Iris species. Each horizontal bar represents a species, with segments proportional to the percentage of each measurement type. Hovering over a segment reveals the exact percentage via a D3 tooltip. The chart uses `d3.csv` to load the Iris dataset, `d3.stack` for stacking, and `d3.scaleBand` for the y-axis, with data rendered as SVG rectangles.

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