Skip to main content
100%

Activity6_Task2

✓ Published2🌍 Public
Kkondaveeti.bhargavi7780@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from D3 Starter

This chart visualizes the distribution of IMDb movie ratings across six genres, using horizontal stacked bars where each segment represents a rating bucket from "below 5.0" to "above 8.5" as a percentage of total films. Hovering a segment highlights it and shows the exact percentage via a tooltip. Built with D3 v7, the code loads data from a CSV, stacks values using `d3.stack`, maps categories through `d3.scaleOrdinal` for colors, and renders axes with `d3.axisBottom` and `d3.axisLeft`. SVG output includes a title and axis label.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes