Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 2

Public visualization

Viewing a saved revision (read-only)

20241d0f8871419eabc9ec6e5bb1d996

Activity 6 Question 2

0 stars0🌍 Public
Nnikhilapogula@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024

A horizontal stacked bar chart shows the proportion of ratings (Below 4 through Above 8) for six food categories, with each bar segmented by rating level and colored by category. The visualization uses D3 v7 with an SVG renderer and d3.stack to compute stacked segments, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the percentage x-axis. Tooltips display exact percentages on mouseover, and a legend identifies each rating color. Data comes from a CSV file containing proportional values for fruit, vegetables, meat, dairy, grains, and snacks.

AI-generated description

Food items proportion