activity6_question2.1

shreshika12

0 views in last 90 days
Last edited Apr 01, 2025
Created on Apr 01, 2025

πŸŽ₯ Rating According to Genres - IMDb Visualization

This project visualizes IMDb movie ratings across different enres using a stacked bar chart created with D3.js.

πŸ“Š Dataset

Th e dataset includes the percentage of ratings for various g nres:

| Genre | below 5.0 | 5.0-6.5 | 6.5-7.5 | 7.5-8.5 | above 8.5 | |-- ---------|- | -------|- | ------| | -----|- | -----|- | --------| | Action | 0.3 | 0.2 | 0.2 | 0.2 | 0.1 | | Animation | 0.1 | 0.3 | 0.3 | 0.2 | 0.1 | | Romance | 0.2 | 0.3 | 0.2 | 0.1 | 0.2 | | Comedy | 0.3 | 0.2 | 0.2 | 0.2 | 0.1 | | Drama | 0.1 | 0.2 | 0.3 | 0.3 | 0.1 | | Documentary | 0.2 | 0.1 | 0.3 | 0.3 | 0.1 |

πŸ“ˆ Visualization Overview

    X-Axis:* Percentage of ratings.

  • Y-Axis: Movie genres.
  • Color-Coded Segments: Different rating ranges.
  • Legend: Identifies rating categories.

πŸ“Š Key Insights

  • Ac tion and Comedy genres have a higher percentage of mov ies rated below 5.0.
  • Drama and Documentary genres have a higher percentage of hig hly rated movies.
  • Ratings between 6.5-7.5 and 7.5-8.5 dominate most genres.

πŸš€ How to Run

  1. Up load the index.html, style.css, and data.csv file s to VizHub.
  2. Open the index.html in a browser.

πŸ“š Technologies Used

  • D3.j s (v7)
  • HTML5
  • CSS3
MIT Licensed