IMDb Movie ratings
✓ Published0🌍 Public
This visualization displays the distribution of IMDb movie ratings across different genres using a horizontal stacked bar chart. The chart shows the proportion of movies falling into five rating categories, from "below 5.0" to "above 8.5," for genres including Documentary, Drama, Comedy, Romance, Animation, and Action. The implementation leverages D3.js v7, loading data from a local CSV file, and uses functions such as `d3.stack()` for data transformation, `d3.scaleLinear()` and `d3.scaleBand()` for axis scaling, and `d3.axisBottom()` for rendering. Interactive mouseover events display tooltips with exact percentages.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed