Skip to main content
100%

Assignment 2 _Task2

✓ Published0🌍 Public
KKeerthiAnnem
Last edited Jul 20, 2023
Created on Jul 17, 2023
Forked from IMDb Movie ratings

A stacked bar chart visualizes the distribution of ratings across six Korean TV shows, with each bar divided into five percentage categories. The chart uses D3 v7 to load CSV data, stack the categories with `d3.stack`, and render SVG rectangles scaled by `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. Hovering over a segment triggers a tooltip showing the exact percentage. The data is sourced from `data.csv`, with colors assigned via `d3.scaleOrdinal`.

AI-generated description
MIT Licensed

Similar vizzes