π Public
IMDb Movie ratings
This chart displays the distribution of IMDb ratings across six movie genres, with each bar segmented by rating categories from "below 5.0" to "above 8.5." The visualization uses a stacked bar chart rendered with SVG, employing `d3.stack()` for data transformation and `d3.scaleOrdinal` for color mapping. D3 v7 handles axis creation with `d3.axisBottom` and `d3.axisLeft`, while interactive tooltips show exact percentages on hover. The data is loaded from a CSV file and presented as proportional segments.
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
Comments
Sign in to join the discussion.