Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task2Ques1

Public visualization

Viewing a saved revision (read-only)

06eb106faa7e4a428de27b9818f9ba28

Task2Ques1

0 stars0🌍 Public
IIkram Mohammed
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Task 2

This stacked bar chart shows annual price trends for five car models from 2020 to 2024, using color-coded segments to compare values across years and models. It loads CSV data via d3.csv, builds the chart with d3.stack, scales with d3.scaleBand and d3.scaleLinear, and assigns colors using d3.scaleOrdinal with d3.schemeCategory10. The SVG renders axes via d3.axisBottom and d3.axisLeft, and includes a legend generated from the data columns.

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