Act6_Task2
This stacked bar chart visualizes the impact of car make on average values for horsepower, torque, and highway MPG. The data from bubblechart.csv is rendered as horizontal stacked bars, one per car make, with each segment’s length proportional to the metric value. The chart uses d3.stack() to create the stacked series and d3.scaleLinear for the x-axis, while d3.csv loads the data and SVG elements are appended via D3 selections. A legend identifies the three categories, and the axis labels clarify the units, with no interactive features beyond the static presentation.
AI-generated descriptionThe 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%.