Mobiles brand Rating
✓ Published0🌍 Public
This chart displays the distribution of mobile phone ratings for six brands, showing the percentage of reviews falling into five rating categories from "below 5.0" to "above 8.5". Each brand is represented as a horizontal stacked bar, with colored segments corresponding to each rating band. The visualization uses D3.js v7 with an SVG rendering approach, employing `d3.stack` to create stacked data, `d3.scaleLinear` for the percentage axis, and `d3.scaleBand` for the categorical brand axis. Interactive tooltips display exact percentages on hover, with the data loaded from a local CSV file.
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