Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mobiles brand Rating

Public visualization

Mobiles brand Rating

0 stars0🌍 Public
SSwapna1915
Last edited Jul 26, 2023
Created on Jul 26, 2023
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed