Skip to main content
100%

act8_t2

✓ Published0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

A stacked horizontal bar chart visualizes the proportion of ratings across food categories, with each bar segmented by rating ranges from "Below 4" to "Above 8." The chart uses d3.stack to compute stacked series and d3.scaleBand for categorical positioning. An ordinal color scale distinguishes rating bands, while interactive tooltips display exact percentages on hover, built with D3 event handlers and HTML div elements. The SVG rendering includes custom axes with gridlines and a legend.

AI-generated description

Food items proportion

MIT Licensed

Similar vizzes