Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

fork1

Public visualization

fork1

0 stars0๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed