Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6_Task2_Q2

Public visualization

Viewing a saved revision (read-only)

8427f488f5fd4a368a3483938b7d5061

Activity_6_Task2_Q2

0 stars0🌍 Public
Vvarmanithish5@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity_6_Task2

This stacked bar chart visualizes the distribution of horsepower, torque, and highway MPG across 31 car makes, using d3.stack with d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis. Each bar segment represents one attribute, colored via d3.scaleOrdinal, and hover interactions display the precise attribute value in a tooltip. The SVG renders data from a local CSV, with axes, labels, and gridlines styled using D3’s axis methods and external fonts.

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