Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task2_DV_LB_Q2.1

Public visualization

Viewing a saved revision (read-only)

4b01a582bbdf4aa7a8e4aeea34cc7be7

Activity8_Task2_DV_LB_Q2.1

0 stars0🌍 Public
Llikithabaddam@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024

This stacked bar chart displays the efficiency of fourteen car makes by comparing their average horsepower, torque, and highway MPG values. The visualization uses D3.js version 7 to implement a horizontal stacked bar layout, where each make is a row and the three metrics are stacked segments. The data is loaded from a CSV file and processed with the `d3.stack()` API to create the cumulative bars. The chart includes interactive tooltips that display the exact numeric value for each metric segment when hovered, and uses a custom color scale to distinguish between the three efficiency metrics.

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%.