Skip to main content
100%

Task8_Question2

✓ Published0🌍 Public
KKeerthi
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This visualization presents a stacked bar chart displaying patient details, with each bar representing a patient and segments showing the percentage contribution of different attributes such as age, weight, and height. The chart uses a horizontal layout, with bars stacked by category and color-coded via a scaleOrdinal palette. Hovering over a segment reveals a tooltip with the exact percentage value for that category. The implementation uses d3.v7's stack, scaleLinear, and scaleBand APIs, rendering as SVG with data loaded from Patientdata.csv, and includes interactivity through mouseover events.

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