Skip to main content
100%

fork1

✓ Published0🌍 Public
SSai Vamshi B
Last edited Mar 9, 2026
Created on Mar 9, 2026

This bar chart shows the number of movies in each genre from the dataset, with genres sorted in descending order of count. It is rendered as an SVG using D3.js (v7) and reads the data from `Movie_ratings.csv`. The chart uses `d3.rollup` to count movies per genre, `d3.scaleBand` and `d3.scaleLinear` for the axes, and `d3.axisLeft` with grid lines to show the y-axis scale. Bars are drawn with `.attr('fill', '#FFD700')` in gold, and axis labels are rotated for readability.

AI-generated description
MIT Licensed

Similar vizzes